summaryrefslogtreecommitdiff
path: root/include/mbgl/platform
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2016-02-04 16:59:59 +0100
committerKonstantin Käfer <mail@kkaefer.com>2016-02-08 12:50:00 +0100
commite74987b07fac1c2e39ced47e2401436fb01b2a1c (patch)
tree27abb7086bd510aadd63a4a6327f82fbbcb52a36 /include/mbgl/platform
parent5c3b01ffcfa6f10473d9eb54bd025a2276744a90 (diff)
downloadqtlocation-mapboxgl-e74987b07fac1c2e39ced47e2401436fb01b2a1c.tar.gz
[core] move GL value objects from gl_config.hpp to gl_values.hpp
Also removes duplicate code from gl_helper.hpp by reusing the GL values that we already have anyway.
Diffstat (limited to 'include/mbgl/platform')
-rw-r--r--include/mbgl/platform/default/glfw_view.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mbgl/platform/default/glfw_view.hpp b/include/mbgl/platform/default/glfw_view.hpp
index 0e46f7d87e..2f74404201 100644
--- a/include/mbgl/platform/default/glfw_view.hpp
+++ b/include/mbgl/platform/default/glfw_view.hpp
@@ -6,6 +6,7 @@
#ifdef MBGL_USE_GLES2
#define GLFW_INCLUDE_ES2
#endif
+#define GL_GLEXT_PROTOTYPES
#include <GLFW/glfw3.h>
#include <atomic>