From 61dd06cb925d16fbe4b334baa58a79af63bad501 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 18 May 2013 17:34:10 +0200 Subject: [PATCH] Why the hell did I write this? --- src/Platform/EglContextHandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Platform/EglContextHandler.cpp b/src/Platform/EglContextHandler.cpp index 75a1f05d4..56dd92cd1 100644 --- a/src/Platform/EglContextHandler.cpp +++ b/src/Platform/EglContextHandler.cpp @@ -99,7 +99,7 @@ void EglContextHandler::createContext(EGLNativeWindowType window) { Error() << "Cannot create EGL context:" << errorString(eglGetError()); std::exit(1); } - if(!(surface = eglCreateWindowSurface(display, config, window, NULL))) { + if(!(surface = eglCreateWindowSurface(display, config, window, nullptr))) { Error() << "Cannot create window surface:" << errorString(eglGetError()); std::exit(1); }