summaryrefslogtreecommitdiffstats
path: root/src/citra/emu_window
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2016-08-26 00:20:47 +0200
committerbunnei <bunneidev@gmail.com>2016-08-30 03:42:30 +0200
commit08ad9b36d44e3cca0802bb1198036c5d77c844cc (patch)
tree8bbca77978c74081557adf548ec65e624ae3ccfd /src/citra/emu_window
parentqt: Add a configuration tab for Graphics and move relevant fields. (diff)
downloadyuzu-08ad9b36d44e3cca0802bb1198036c5d77c844cc.tar
yuzu-08ad9b36d44e3cca0802bb1198036c5d77c844cc.tar.gz
yuzu-08ad9b36d44e3cca0802bb1198036c5d77c844cc.tar.bz2
yuzu-08ad9b36d44e3cca0802bb1198036c5d77c844cc.tar.lz
yuzu-08ad9b36d44e3cca0802bb1198036c5d77c844cc.tar.xz
yuzu-08ad9b36d44e3cca0802bb1198036c5d77c844cc.tar.zst
yuzu-08ad9b36d44e3cca0802bb1198036c5d77c844cc.zip
Diffstat (limited to 'src/citra/emu_window')
-rw-r--r--src/citra/emu_window/emu_window_sdl2.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/citra/emu_window/emu_window_sdl2.cpp b/src/citra/emu_window/emu_window_sdl2.cpp
index 591f68aa4..da12307b7 100644
--- a/src/citra/emu_window/emu_window_sdl2.cpp
+++ b/src/citra/emu_window/emu_window_sdl2.cpp
@@ -108,6 +108,7 @@ EmuWindow_SDL2::EmuWindow_SDL2() {
OnResize();
OnMinimalClientAreaChangeRequest(GetActiveConfig().min_client_area_size);
SDL_PumpEvents();
+ SDL_GL_SetSwapInterval(Settings::values.use_vsync);
DoneCurrent();
}