summaryrefslogtreecommitdiffstats
path: root/src/citra_qt/main.cpp
diff options
context:
space:
mode:
authorSacha <xsacha@gmail.com>2014-08-24 16:47:00 +0200
committerSacha <xsacha@gmail.com>2014-08-24 16:47:00 +0200
commita3a70e56acfde2cf75dfd02a6c2f1828d28efe02 (patch)
tree56e2fb6a10d72abedebb83c1681f9cddbe7462e4 /src/citra_qt/main.cpp
parentMerge pull request #73 from yuriks/remove-docs (diff)
downloadyuzu-a3a70e56acfde2cf75dfd02a6c2f1828d28efe02.tar
yuzu-a3a70e56acfde2cf75dfd02a6c2f1828d28efe02.tar.gz
yuzu-a3a70e56acfde2cf75dfd02a6c2f1828d28efe02.tar.bz2
yuzu-a3a70e56acfde2cf75dfd02a6c2f1828d28efe02.tar.lz
yuzu-a3a70e56acfde2cf75dfd02a6c2f1828d28efe02.tar.xz
yuzu-a3a70e56acfde2cf75dfd02a6c2f1828d28efe02.tar.zst
yuzu-a3a70e56acfde2cf75dfd02a6c2f1828d28efe02.zip
Diffstat (limited to '')
-rw-r--r--src/citra_qt/main.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cpp
index e5190d48a..9a16cf92d 100644
--- a/src/citra_qt/main.cpp
+++ b/src/citra_qt/main.cpp
@@ -142,7 +142,6 @@ void GMainWindow::BootGame(std::string filename)
registersWidget->OnCPUStepped();
callstackWidget->OnCPUStepped();
- render_window->DoneCurrent(); // make sure EmuThread can access GL context
render_window->GetEmuThread().SetFilename(filename);
render_window->GetEmuThread().start();
@@ -204,7 +203,6 @@ void GMainWindow::ToggleWindowMode()
ui.horizontalLayout->removeWidget(render_window);
render_window->setParent(NULL);
render_window->setVisible(true);
- render_window->DoneCurrent();
render_window->RestoreGeometry();
}
else if (!enable && render_window->parent() == NULL)
@@ -212,7 +210,6 @@ void GMainWindow::ToggleWindowMode()
render_window->BackupGeometry();
ui.horizontalLayout->addWidget(render_window);
render_window->setVisible(true);
- render_window->DoneCurrent();
}
}