summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <thiago@mapbox.com>2016-08-06 01:23:32 +0300
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2017-01-20 16:08:04 +0100
commitcbf28083e61a1bda85765db610ae93291d077086 (patch)
tree77d00a22838ef24048544a4a07060eaf0abdc45c /include
parent472807400b4d66733e164fd40c140c7e2827bd6f (diff)
downloadqtlocation-mapboxgl-cbf28083e61a1bda85765db610ae93291d077086.tar.gz
[Qt] Use Qt's OpenGL header
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/gl/gl.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/mbgl/gl/gl.hpp b/include/mbgl/gl/gl.hpp
index b3c2d83a5e..425f78bcba 100644
--- a/include/mbgl/gl/gl.hpp
+++ b/include/mbgl/gl/gl.hpp
@@ -22,6 +22,9 @@
#define GL_GLEXT_PROTOTYPES
#include <GLES2/gl2.h>
#include <GLES2/gl2ext.h>
+#elif __QT__
+ #define GL_GLEXT_PROTOTYPES
+ #include <QtOpenGL>
#else
#define GL_GLEXT_PROTOTYPES
#include <GL/gl.h>