mirror of
https://github.com/Ryujinx/SDL.git
synced 2025-06-02 05:40:24 +00:00
Fixed SDL_GL_SetSwapInterval() returning success on two unsupported platforms.
This commit is contained in:
parent
2113208d98
commit
248410dded
|
@ -116,7 +116,7 @@ void BE_GL_DeleteContext(_THIS, SDL_GLContext context) {
|
||||||
|
|
||||||
int BE_GL_SetSwapInterval(_THIS, int interval) {
|
int BE_GL_SetSwapInterval(_THIS, int interval) {
|
||||||
/* TODO: Implement this, if necessary? */
|
/* TODO: Implement this, if necessary? */
|
||||||
return 0;
|
return SDL_Unsupported();
|
||||||
}
|
}
|
||||||
|
|
||||||
int BE_GL_GetSwapInterval(_THIS) {
|
int BE_GL_GetSwapInterval(_THIS) {
|
||||||
|
|
|
@ -141,7 +141,7 @@ int
|
||||||
NACL_GLES_SetSwapInterval(_THIS, int interval)
|
NACL_GLES_SetSwapInterval(_THIS, int interval)
|
||||||
{
|
{
|
||||||
/* STUB */
|
/* STUB */
|
||||||
return 0;
|
return SDL_Unsupported();
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|
Loading…
Reference in a new issue