Skip to content

Commit

Permalink
- fixed build on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
raa-eruanna committed Dec 20, 2017
1 parent fe5f37e commit c90b785
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/system/i_video.cc
Expand Up @@ -354,17 +354,17 @@ void I_FinishFrame(void)
{
#ifdef WIN32
if (WGLEW_EXT_swap_control)
{
{
// Adaptive GL
wglSwapIntervalEXT(-1);
#endif
SDL_GL_SetSwapInterval(-1);

}
SDL_GL_SetSwapInterval(-1);
#ifdef WIN32
}
else
// Disabled thru SDL
SDL_GL_SetSwapInterval(-1);

#endif
SDL_GL_SwapWindow(my_vis);

if (r_vsync.d > 0)
Expand Down

0 comments on commit c90b785

Please sign in to comment.