Browse Source

Why the hell did I write this?

pull/278/head
Vladimír Vondruš 13 years ago
parent
commit
61dd06cb92
  1. 2
      src/Platform/EglContextHandler.cpp

2
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);
}

Loading…
Cancel
Save