sdl: use SDL_GL_SetSwapInterval only for REF_GL
This commit is contained in:
parent
8a648619c4
commit
ca72c8991b
|
@ -487,6 +487,9 @@ GL_UpdateSwapInterval
|
|||
void GL_UpdateSwapInterval( void )
|
||||
{
|
||||
#if SDL_VERSION_ATLEAST( 2, 0, 0 )
|
||||
if (glw_state.context_type != REF_GL)
|
||||
return;
|
||||
|
||||
// disable VSync while level is loading
|
||||
if( cls.state < ca_active )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue