From 0831dad467374f11256b5e63ca66b9dff5bf2463 Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Wed, 22 Feb 2017 12:21:10 -0500 Subject: Initial support for Haiku. --- Source/Core/Common/GL/GLInterface/GLInterface.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Source/Core/Common/GL/GLInterface/GLInterface.cpp') diff --git a/Source/Core/Common/GL/GLInterface/GLInterface.cpp b/Source/Core/Common/GL/GLInterface/GLInterface.cpp index e134544311..edd84cc2ab 100644 --- a/Source/Core/Common/GL/GLInterface/GLInterface.cpp +++ b/Source/Core/Common/GL/GLInterface/GLInterface.cpp @@ -20,6 +20,8 @@ #include "Common/GL/GLInterface/EGL.h" #elif ANDROID #include "Common/GL/GLInterface/EGLAndroid.h" +#elif defined(__HAIKU__) +#include "Common/GL/GLInterface/BGL.h" #else #error Platform doesnt have a GLInterface #endif @@ -40,6 +42,8 @@ std::unique_ptr HostGL_CreateGLInterface() #endif #elif ANDROID return std::make_unique(); +#elif defined(__HAIKU__) + return std::make_unique(); #else return nullptr; #endif -- cgit v1.2.3