pass NULL instead of nullptr to glXMakdeCurrent

This commit is contained in:
Mike Morris
2014-09-11 10:09:30 -04:00
parent 1f7c591bc4
commit 70aaf8d343

View File

@@ -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