#include "glext.h"
#include "config.h"
#include "syswm.h"
+#include "sync.h"
/*---------------------------------------------------------------------------*/
glReadBuffer(GL_FRONT);
+ /* Attempt manual swap control if SDL's is broken. */
+
+ if (vsync && SDL_GL_GetAttribute(SDL_GL_SWAP_CONTROL, &vsync) == -1)
+ sync_init();
+
return 1;
}