summaryrefslogtreecommitdiff
path: root/src/yuzu_cmd/emu_window
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-09-06 19:20:01 -0400
committerGitHub <noreply@github.com>2018-09-06 19:20:01 -0400
commit9273c02427d4a77d6ab61c386c595628f600b459 (patch)
tree4e3feeaa963ee3e65e6f0330ac7096ab0b497e70 /src/yuzu_cmd/emu_window
parentb89dda2b98d923d211fb72ca66fda6de7d31cec1 (diff)
parent742f895f8b063ac59e585f3e2115fd733171c9c2 (diff)
Merge pull request #1249 from FearlessTobi/disable-vsync
frontend: Set swap interval to 0
Diffstat (limited to 'src/yuzu_cmd/emu_window')
-rw-r--r--src/yuzu_cmd/emu_window/emu_window_sdl2.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp b/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp
index 351dd9225..e1f269d31 100644
--- a/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp
+++ b/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp
@@ -166,6 +166,7 @@ EmuWindow_SDL2::EmuWindow_SDL2(bool fullscreen) {
OnResize();
OnMinimalClientAreaChangeRequest(GetActiveConfig().min_client_area_size);
SDL_PumpEvents();
+ SDL_GL_SetSwapInterval(false);
LOG_INFO(Frontend, "yuzu Version: {} | {}-{}", Common::g_build_name, Common::g_scm_branch,
Common::g_scm_desc);