source/src/video/cocoa/SDL_cocoaopengles.m
@@ -25,7 +25,6 @@ #include "SDL_cocoavideo.h" #include "SDL_cocoaopengles.h" #include "SDL_cocoaopengl.h" #include "SDL_log.h" /* EGL implementation of SDL OpenGL support */ @@ -110,10 +109,12 @@ if (_this->egl_data == NULL) { SDL_assert(!_this->gl_config.driver_loaded); if (SDL_EGL_LoadLibrary(_this, NULL, EGL_DEFAULT_DISPLAY, 0) < 0) { SDL_EGL_UnloadLibrary(_this); return -1; } _this->gl_config.driver_loaded = 1; } /* Create the GLES window surface */