diff options
Diffstat (limited to 'platform/qt/mbgl/gl/gl_impl.hpp')
-rw-r--r-- | platform/qt/mbgl/gl/gl_impl.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/platform/qt/mbgl/gl/gl_impl.hpp b/platform/qt/mbgl/gl/gl_impl.hpp index 218c528c66..a9f720db7c 100644 --- a/platform/qt/mbgl/gl/gl_impl.hpp +++ b/platform/qt/mbgl/gl/gl_impl.hpp @@ -19,8 +19,13 @@ #include <QOpenGLContext> #include <QOpenGLFunctions> + #ifndef GL_RGBA8_OES #define GL_RGBA8_OES GL_RGBA8 + #endif + + #ifndef GL_DEPTH24_STENCIL8_OES #define GL_DEPTH24_STENCIL8_OES GL_DEPTH24_STENCIL8 + #endif #define glActiveTexture(...) QOpenGLContext::currentContext()->functions()->glActiveTexture(__VA_ARGS__) #define glAttachShader(...) QOpenGLContext::currentContext()->functions()->glAttachShader(__VA_ARGS__) |