mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 22:53:23 +00:00
win32: Set error for SDL_GL_GetSwapInterval()
(cherry picked from commit 54de246b4b)
This commit is contained in:
parent
3a5d0bac71
commit
65dfdce3df
1 changed files with 1 additions and 1 deletions
|
|
@ -910,7 +910,7 @@ bool WIN_GL_GetSwapInterval(SDL_VideoDevice *_this, int *interval)
|
|||
*interval = _this->gl_data->wglGetSwapIntervalEXT();
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
return SDL_Unsupported();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue