From ca061091f9a796d3681bfcbadd36973bb4920ab5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 4 Nov 2012 15:43:03 +0100 Subject: [PATCH] Using nullptr instead of 0. --- src/Contexts/EglContextHandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Contexts/EglContextHandler.cpp b/src/Contexts/EglContextHandler.cpp index fe89eb477..da7224eda 100644 --- a/src/Contexts/EglContextHandler.cpp +++ b/src/Contexts/EglContextHandler.cpp @@ -30,7 +30,7 @@ EglContextHandler::~EglContextHandler() { VisualId EglContextHandler::getVisualId(EGLNativeDisplayType nativeDisplay) { /* Initialize */ display = eglGetDisplay(nativeDisplay); - eglInitialize(display, 0, 0); + eglInitialize(display, nullptr, nullptr); #ifndef MAGNUM_TARGET_GLES eglBindAPI(EGL_OPENGL_API); #else