summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorMike Morris <michael.patrick.morris@gmail.com>2014-09-11 10:09:30 -0400
committerMike Morris <michael.patrick.morris@gmail.com>2014-09-11 10:09:30 -0400
commit70aaf8d343ab0dc80993038bd13148b20de0b83e (patch)
tree05553304c73cbd23772a99c0c311117c10b87017 /common
parent1f7c591bc45d95f9bdecc109fd4a3ddf6592e42d (diff)
downloadqtlocation-mapboxgl-70aaf8d343ab0dc80993038bd13148b20de0b83e.tar.gz
pass NULL instead of nullptr to glXMakdeCurrent
Diffstat (limited to 'common')
-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 563fd8f245..355206a3ee 100644
--- a/common/headless_view.cpp
+++ b/common/headless_view.cpp
@@ -191,7 +191,7 @@ void HeadlessView::make_inactive() {
#endif
#if MBGL_USE_GLX
- if (!glXMakeCurrent(x_display, None, nullptr)) {
+ if (!glXMakeCurrent(x_display, None, NULL)) {
fprintf(stderr, "Removing OpenGL context failed\n");
}
#endif