summaryrefslogtreecommitdiff
path: root/include/mbgl/platform
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2015-02-13 16:11:42 -0800
committerKonstantin Käfer <mail@kkaefer.com>2015-03-06 15:42:34 +0100
commite8389d82cdd84d470deb072d82ee9a613cd15df8 (patch)
tree211e461c0956147cf9fcf04e829dca719219c017 /include/mbgl/platform
parentc30bb1a9f80a7a772578d8742e122c013a56202d (diff)
downloadqtlocation-mapboxgl-e8389d82cdd84d470deb072d82ee9a613cd15df8.tar.gz
guard against concurrent OpenGL extension loading
Diffstat (limited to 'include/mbgl/platform')
-rw-r--r--include/mbgl/platform/default/headless_view.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mbgl/platform/default/headless_view.hpp b/include/mbgl/platform/default/headless_view.hpp
index ba318c2b41..5d0e55d69a 100644
--- a/include/mbgl/platform/default/headless_view.hpp
+++ b/include/mbgl/platform/default/headless_view.hpp
@@ -60,6 +60,8 @@ private:
GLXPbuffer glxPbuffer = 0;
#endif
+ bool extensionsLoaded = false;
+
GLuint fbo = 0;
GLuint fboDepthStencil = 0;
GLuint fboColor = 0;