Warn if glX VSync call isn't found.

This commit is contained in:
Themaister 2011-09-04 13:01:54 +02:00
parent 231680944f
commit b2b103362d

View File

@ -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
}
}