diff options
| author | 2016-08-25 18:20:47 -0400 | |
|---|---|---|
| committer | 2016-08-29 21:42:30 -0400 | |
| commit | 08ad9b36d44e3cca0802bb1198036c5d77c844cc (patch) | |
| tree | 8bbca77978c74081557adf548ec65e624ae3ccfd /src/citra/emu_window/emu_window_sdl2.cpp | |
| parent | qt: Add a configuration tab for Graphics and move relevant fields. (diff) | |
| download | yuzu-08ad9b36d44e3cca0802bb1198036c5d77c844cc.tar.gz yuzu-08ad9b36d44e3cca0802bb1198036c5d77c844cc.tar.xz yuzu-08ad9b36d44e3cca0802bb1198036c5d77c844cc.zip | |
config: Add a setting for graphics V-Sync.
Diffstat (limited to 'src/citra/emu_window/emu_window_sdl2.cpp')
| -rw-r--r-- | src/citra/emu_window/emu_window_sdl2.cpp | 1 |
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() { | |||
| 108 | OnResize(); | 108 | OnResize(); |
| 109 | OnMinimalClientAreaChangeRequest(GetActiveConfig().min_client_area_size); | 109 | OnMinimalClientAreaChangeRequest(GetActiveConfig().min_client_area_size); |
| 110 | SDL_PumpEvents(); | 110 | SDL_PumpEvents(); |
| 111 | SDL_GL_SetSwapInterval(Settings::values.use_vsync); | ||
| 111 | 112 | ||
| 112 | DoneCurrent(); | 113 | DoneCurrent(); |
| 113 | } | 114 | } |