Don't wait on frame swap when we aren't doing frame synchronization in the first place

This commit is contained in:
Jeffrey Pfau 2013-10-15 02:34:37 -07:00
parent 1b5dd352af
commit ce33adf5e4
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ static int _GBASDLInit(struct GLSoftwareRenderer* renderer) {
GBASDLInitEvents(&renderer->events);
GBASDLInitAudio(&renderer->audio);
SDL_GL_SetAttribute(SDL_GL_SWAP_CONTROL, 1);
SDL_GL_SetAttribute(SDL_GL_SWAP_CONTROL, 0);
SDL_GL_SetAttribute(SDL_GL_RED_SIZE, 8);
SDL_GL_SetAttribute(SDL_GL_GREEN_SIZE, 8);
SDL_GL_SetAttribute(SDL_GL_BLUE_SIZE, 8);