Fix GL_MakeCurrent call

This commit is contained in:
Joshua Granick
2018-11-29 17:26:49 -08:00
parent 02cdb126eb
commit 1a5090d5be

View File

@@ -212,7 +212,7 @@ namespace lime {
context = SDL_GL_CreateContext (sdlWindow);
if (context && SDL_GL_MakeCurrent (sdlWindow, context)) {
if (context && SDL_GL_MakeCurrent (sdlWindow, context) == 0) {
if (flags & WINDOW_FLAG_VSYNC) {