mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-20 22:16:49 +01:00
Fixed pointer from integer warning and bug if compiled without EGL.
This commit is contained in:
parent
b2faf3f08d
commit
87ad7a1c50
@ -604,8 +604,9 @@ WIN_GL_CreateContext(_THIS, SDL_Window * window)
|
|||||||
|
|
||||||
return WIN_GLES_CreateContext(_this, window);
|
return WIN_GLES_CreateContext(_this, window);
|
||||||
#else
|
#else
|
||||||
return SDL_SetError("SDL not configured with EGL support");
|
SDL_SetError("SDL not configured with EGL support");
|
||||||
#endif
|
return NULL;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_this->gl_config.share_with_current_context) {
|
if (_this->gl_config.share_with_current_context) {
|
||||||
|
Loading…
Reference in New Issue
Block a user