summaryrefslogtreecommitdiff
path: root/common/headless_view.hpp
diff options
context:
space:
mode:
authorKonstantin Käfer <konstantin@mapbox.com>2014-10-15 14:20:28 +0000
committerKonstantin Käfer <konstantin@mapbox.com>2014-10-15 14:20:28 +0000
commit8eda68dd8a24ee5025db82d02f952fdd5921eea3 (patch)
tree0980f6fa04a8c21920d57b22fe87931a4e3f1302 /common/headless_view.hpp
parent9ff1d9e3bdc05817d9f9de820e1d07dd17a699cd (diff)
downloadqtlocation-mapboxgl-8eda68dd8a24ee5025db82d02f952fdd5921eea3.tar.gz
fix errors that prevented compilation/running
Diffstat (limited to 'common/headless_view.hpp')
-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 9ba25c73f0..ec76f1a077 100644
--- a/common/headless_view.hpp
+++ b/common/headless_view.hpp
@@ -4,7 +4,7 @@
#ifdef __APPLE__
#define MBGL_USE_CGL 1
#else
-#include "glx.h"
+#include <GL/glx.h>
#define MBGL_USE_GLX 1
#endif
@@ -55,7 +55,7 @@ private:
Display *x_display = nullptr;
GLXFBConfig *fb_configs = nullptr;
GLXContext gl_context = nullptr;
- GLXPBuffer glx_pbuffer = 0;
+ GLXPbuffer glx_pbuffer = 0;
#endif
};