From 98c9da9dda0659fae2a3cc9dcde70c937dfaae3e Mon Sep 17 00:00:00 2001 From: Themaister Date: Mon, 2 Sep 2013 09:20:51 +0200 Subject: [PATCH] Set swap interval correctly in gl_init(). --- gfx/gl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/gl.c b/gfx/gl.c index cc622d5726..8179728f8b 100644 --- a/gfx/gl.c +++ b/gfx/gl.c @@ -1950,7 +1950,7 @@ static void *gl_init(const video_info_t *video, const input_driver_t **input, vo context_get_video_size_func(&gl->full_x, &gl->full_y); RARCH_LOG("Detecting screen resolution %ux%u.\n", gl->full_x, gl->full_y); - context_swap_interval_func(video->vsync ? 1 : 0); + context_swap_interval_func(video->vsync ? g_settings.video.swap_interval : 0); unsigned win_width = video->width; unsigned win_height = video->height;