mirror of
https://github.com/libretro/RetroArch
synced 2025-01-26 09:35:21 +00:00
Warn if glX VSync call isn't found.
This commit is contained in:
parent
231680944f
commit
b2b103362d
5
gfx/gl.c
5
gfx/gl.c
@ -1046,7 +1046,10 @@ static void gl_set_nonblock_state(void *data, bool state)
|
||||
{
|
||||
SDL_SYM_WRAP(glx_swap_interval, "glXSwapIntervalMESA");
|
||||
}
|
||||
if (glx_swap_interval) glx_swap_interval(state ? 0 : 1);
|
||||
if (glx_swap_interval)
|
||||
glx_swap_interval(state ? 0 : 1);
|
||||
else
|
||||
SSNES_WARN("Could not find GLX VSync call. :(\n");
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user