mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 06:44:27 +00:00
Use SwapInterval with SDL 1.3.
This commit is contained in:
parent
87d34deb0c
commit
21c6b75839
@ -34,6 +34,9 @@ void sdlwrap_set_swap_interval(unsigned interval, bool inited)
|
||||
{
|
||||
g_interval = interval;
|
||||
|
||||
#if SDL_MODERN
|
||||
SDL_GL_SetSwapInterval(g_interval);
|
||||
#else
|
||||
if (inited)
|
||||
{
|
||||
#if defined(_WIN32)
|
||||
@ -63,6 +66,7 @@ void sdlwrap_set_swap_interval(unsigned interval, bool inited)
|
||||
SSNES_WARN("Could not find GLX VSync call. :(\n");
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
bool sdlwrap_set_video_mode(
|
||||
|
Loading…
x
Reference in New Issue
Block a user