summaryrefslogtreecommitdiff
path: root/src/citra_qt/main.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2016-08-31 22:20:54 -0400
committerGravatar GitHub2016-08-31 22:20:54 -0400
commit09063dc5bb1e2b769c10077bf820a5300494c119 (patch)
treead997ee86470e23e9dfa67a1d9824a57cdcf5571 /src/citra_qt/main.cpp
parentMerge pull request #2035 from MerryMage/disable-stretch (diff)
parentqt: Rename all "toogle" to "toggle". (diff)
downloadyuzu-09063dc5bb1e2b769c10077bf820a5300494c119.tar.gz
yuzu-09063dc5bb1e2b769c10077bf820a5300494c119.tar.xz
yuzu-09063dc5bb1e2b769c10077bf820a5300494c119.zip
Merge pull request #2032 from bunnei/qt-graphics
Qt graphics configure & V-Sync option
Diffstat (limited to 'src/citra_qt/main.cpp')
-rw-r--r--src/citra_qt/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cpp
index 68a936087..9fd4482f6 100644
--- a/src/citra_qt/main.cpp
+++ b/src/citra_qt/main.cpp
@@ -243,7 +243,9 @@ bool GMainWindow::InitializeSystem() {
243 if (emu_thread != nullptr) 243 if (emu_thread != nullptr)
244 ShutdownGame(); 244 ShutdownGame();
245 245
246 render_window->InitRenderTarget();
246 render_window->MakeCurrent(); 247 render_window->MakeCurrent();
248
247 if (!gladLoadGL()) { 249 if (!gladLoadGL()) {
248 QMessageBox::critical(this, tr("Error while starting Citra!"), 250 QMessageBox::critical(this, tr("Error while starting Citra!"),
249 tr("Failed to initialize the video core!\n\n" 251 tr("Failed to initialize the video core!\n\n"