mirror of https://github.com/mgba-emu/mgba.git
Don't wait on frame swap when we aren't doing frame synchronization in the first place
This commit is contained in:
parent
1b5dd352af
commit
ce33adf5e4
|
@ -99,7 +99,7 @@ static int _GBASDLInit(struct GLSoftwareRenderer* renderer) {
|
||||||
GBASDLInitEvents(&renderer->events);
|
GBASDLInitEvents(&renderer->events);
|
||||||
GBASDLInitAudio(&renderer->audio);
|
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_RED_SIZE, 8);
|
||||||
SDL_GL_SetAttribute(SDL_GL_GREEN_SIZE, 8);
|
SDL_GL_SetAttribute(SDL_GL_GREEN_SIZE, 8);
|
||||||
SDL_GL_SetAttribute(SDL_GL_BLUE_SIZE, 8);
|
SDL_GL_SetAttribute(SDL_GL_BLUE_SIZE, 8);
|
||||||
|
|
Loading…
Reference in New Issue