mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-06 16:18:58 +00:00
Rehabilitate Haiku support.
This commit is contained in:
parent
1d489b3fd5
commit
2df11d3911
10 changed files with 155 additions and 3 deletions
|
@ -12,6 +12,9 @@
|
|||
#if defined(_WIN32)
|
||||
#include "Common/GL/GLInterface/WGL.h"
|
||||
#endif
|
||||
#if defined(__HAIKU__)
|
||||
#include "Common/GL/GLInterface/BGL.h"
|
||||
#endif
|
||||
#if HAVE_X11
|
||||
#include "Common/GL/GLInterface/GLX.h"
|
||||
#endif
|
||||
|
@ -92,6 +95,10 @@ std::unique_ptr<GLContext> GLContext::Create(const WindowSystemInfo& wsi, bool s
|
|||
if (wsi.type == WindowSystemType::Android)
|
||||
context = std::make_unique<GLContextEGLAndroid>();
|
||||
#endif
|
||||
#if defined(__HAIKU__)
|
||||
if (wsi.type == WindowSystemType::Haiku)
|
||||
context = std::make_unique<GLContextBGL>();
|
||||
#endif
|
||||
#if HAVE_X11
|
||||
if (wsi.type == WindowSystemType::X11)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue