mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-06 01:58:30 +00:00
Merge branch 'master' of github.com:Themaister/SSNES
This commit is contained in:
commit
968c73a748
@ -62,13 +62,10 @@ void sdlwrap_set_swap_interval(unsigned interval, bool inited)
|
|||||||
#else
|
#else
|
||||||
static int (*glx_swap_interval)(int) = NULL;
|
static int (*glx_swap_interval)(int) = NULL;
|
||||||
if (!glx_swap_interval)
|
if (!glx_swap_interval)
|
||||||
{
|
|
||||||
SDL_SYM_WRAP(glx_swap_interval, "glXSwapIntervalSGI");
|
SDL_SYM_WRAP(glx_swap_interval, "glXSwapIntervalSGI");
|
||||||
}
|
|
||||||
if (!glx_swap_interval)
|
if (!glx_swap_interval)
|
||||||
{
|
|
||||||
SDL_SYM_WRAP(glx_swap_interval, "glXSwapIntervalMESA");
|
SDL_SYM_WRAP(glx_swap_interval, "glXSwapIntervalMESA");
|
||||||
}
|
|
||||||
if (glx_swap_interval)
|
if (glx_swap_interval)
|
||||||
glx_swap_interval(g_interval);
|
glx_swap_interval(g_interval);
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user