From 70aaf8d343ab0dc80993038bd13148b20de0b83e Mon Sep 17 00:00:00 2001 From: Mike Morris Date: Thu, 11 Sep 2014 10:09:30 -0400 Subject: pass NULL instead of nullptr to glXMakdeCurrent --- common/headless_view.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common') 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 -- cgit v1.2.1