Fix vsync saving/loading (take three...)

git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@780 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
svdijk 2012-11-02 22:16:08 +00:00
parent 98f636b3e2
commit f499149f6e

View file

@ -761,6 +761,13 @@ static void GL_Init (void)
#endif
GL_SetupState (); //johnfitz
// set vertical sync
if (gl_swap_control)
{
if (SDL_GL_SetAttribute(SDL_GL_SWAP_CONTROL, (vid_vsync.value) ? 1 : 0) == -1)
Con_Printf ("Unable to set swap control\n");
}
}
/*