Fixed pointer from integer warning and bug if compiled without EGL.
This commit is contained in:
parent
967dbafb4b
commit
d1f38264a2
1 changed files with 3 additions and 2 deletions
|
@ -604,7 +604,8 @@ 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");
|
||||||
|
return NULL;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue