summaryrefslogtreecommitdiff
path: root/platform/default/headless_display.cpp
diff options
context:
space:
mode:
authorMike Morris <michael.patrick.morris@gmail.com>2014-11-10 15:06:56 -0500
committerMike Morris <michael.patrick.morris@gmail.com>2014-11-10 15:06:56 -0500
commitc542bd114090753f5fc6f55e68605e1fd3bbd070 (patch)
tree02c0a5c5b74e73cbb41853bfd131a95ab54d9062 /platform/default/headless_display.cpp
parent9038e963bea3dc40d0ba422d3fa88c924c595da8 (diff)
downloadqtlocation-mapboxgl-c542bd114090753f5fc6f55e68605e1fd3bbd070.tar.gz
repair undef None GLX wrapper, pass 0 instead of None to GLX functions
Diffstat (limited to 'platform/default/headless_display.cpp')
-rw-r--r--platform/default/headless_display.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/default/headless_display.cpp b/platform/default/headless_display.cpp
index 409fcbf057..ada48b8648 100644
--- a/platform/default/headless_display.cpp
+++ b/platform/default/headless_display.cpp
@@ -48,7 +48,7 @@ HeadlessDisplay::HeadlessDisplay() {
// We're creating a dummy pbuffer anyway that we're not using.
static int pixelFormat[] = {
GLX_DRAWABLE_TYPE, GLX_PBUFFER_BIT,
- None
+ 0
};
int configs = 0;