all repos — mgba @ ce33adf5e4bbc5c123d67aa8a25acd853a3d1470

mGBA Game Boy Advance Emulator

Don't wait on frame swap when we aren't doing frame synchronization in the first place
Jeffrey Pfau jeffrey@endrift.com
Tue, 15 Oct 2013 02:34:37 -0700
commit

ce33adf5e4bbc5c123d67aa8a25acd853a3d1470

parent

1b5dd352af1cc78e15188b0807cbe699cb0ec3e7

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/gl-main.csrc/gl-main.c

@@ -99,7 +99,7 @@

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);