diff options
author | Mike Morris <michael.patrick.morris@gmail.com> | 2014-10-06 16:53:57 -0400 |
---|---|---|
committer | Mike Morris <michael.patrick.morris@gmail.com> | 2014-10-06 16:53:57 -0400 |
commit | 8b06b65f35445a1dc8490ede523a23fab46529fa (patch) | |
tree | 144a532deb7f2f26625e65f620a2a22c32e6a1f2 /common/headless_view.cpp | |
parent | 170ce422ceb20126cd7dc7b184b5edbc0685c7e7 (diff) | |
download | qtlocation-mapboxgl-8b06b65f35445a1dc8490ede523a23fab46529fa.tar.gz |
wrap GL/glx.h with undef None, use 0 instead, h/t @jfirebaugh
Diffstat (limited to 'common/headless_view.cpp')
-rw-r--r-- | common/headless_view.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/headless_view.cpp b/common/headless_view.cpp index 86fa445fc8..cd8ee685d5 100644 --- a/common/headless_view.cpp +++ b/common/headless_view.cpp @@ -171,7 +171,7 @@ void HeadlessView::make_inactive() { #endif #if MBGL_USE_GLX - if (!glXMakeCurrent(x_display, None, NULL)) { + if (!glXMakeCurrent(x_display, 0, NULL)) { fprintf(stderr, "Removing OpenGL context failed\n"); } #endif |