summaryrefslogtreecommitdiff
path: root/common/headless_view.cpp
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.cpp
parent9ff1d9e3bdc05817d9f9de820e1d07dd17a699cd (diff)
downloadqtlocation-mapboxgl-8eda68dd8a24ee5025db82d02f952fdd5921eea3.tar.gz
fix errors that prevented compilation/running
Diffstat (limited to 'common/headless_view.cpp')
-rw-r--r--common/headless_view.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/headless_view.cpp b/common/headless_view.cpp
index dd62d9d23e..51196faede 100644
--- a/common/headless_view.cpp
+++ b/common/headless_view.cpp
@@ -118,7 +118,7 @@ void HeadlessView::resize(uint16_t width, uint16_t height, float pixelRatio) {
GLX_PBUFFER_HEIGHT, h,
None
};
- GLXPbuffer pbuffer = glXCreatePbuffer(x_display, fg_configs[0], attributes);
+ glx_pbuffer = glXCreatePbuffer(x_display, fb_configs[0], attributes);
#endif
}