Fixed pointer from integer warning and bug if compiled without EGL.

This commit is contained in:
Philipp Wiesemann 2013-12-25 16:57:59 +01:00
parent b2faf3f08d
commit 87ad7a1c50

View file

@ -604,7 +604,8 @@ WIN_GL_CreateContext(_THIS, SDL_Window * window)
return WIN_GLES_CreateContext(_this, window);
#else
return SDL_SetError("SDL not configured with EGL support");
SDL_SetError("SDL not configured with EGL support");
return NULL;
#endif
}