summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-07-08 14:53:17 -0700
committerKonstantin Käfer <mail@kkaefer.com>2014-07-08 14:53:17 -0700
commitdf65ecaa343dc977857693b1719f3fe54a47e6d4 (patch)
tree294ca90692e685ba92474dfb5d6b38bd815d875b /common
parentec958d68be1cfe06cc45f3bdbb7c43ab473f3617 (diff)
downloadqtlocation-mapboxgl-df65ecaa343dc977857693b1719f3fe54a47e6d4.tar.gz
fix compile errors
Diffstat (limited to 'common')
-rw-r--r--common/headless_view.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/headless_view.hpp b/common/headless_view.hpp
index a203d477e0..b3e1c11b9b 100644
--- a/common/headless_view.hpp
+++ b/common/headless_view.hpp
@@ -29,14 +29,14 @@ private:
private:
-#ifdef LLMR_USE_CGL
+#if LLMR_USE_CGL
CGLContextObj gl_context;
GLuint fbo = 0;
GLuint fbo_depth_stencil = 0;
GLuint fbo_color = 0;
#endif
-#ifdef LLMR_USE_GLX
+#if LLMR_USE_GLX
GLXContext gl_context = nullptr;
XVisualInfo *x_info = nullptr;
Display *x_display = nullptr;