summaryrefslogtreecommitdiffstats
path: root/src/citra_qt/bootmanager.cpp
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_qt/bootmanager.cpp
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_qt/bootmanager.cpp')
-rw-r--r--src/citra_qt/bootmanager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/citra_qt/bootmanager.cpp b/src/citra_qt/bootmanager.cpp
index 414b2f8af..a9669c559 100644
--- a/src/citra_qt/bootmanager.cpp
+++ b/src/citra_qt/bootmanager.cpp
@@ -119,6 +119,7 @@ GRenderWindow::GRenderWindow(QWidget* parent, EmuThread* emu_thread) :
QGLFormat fmt;
fmt.setVersion(3,3);
fmt.setProfile(QGLFormat::CoreProfile);
+ fmt.setSwapInterval(VideoCore::g_vsync_enabled);
// Requests a forward-compatible context, which is required to get a 3.2+ context on OS X
fmt.setOption(QGL::NoDeprecatedFunctions);