summaryrefslogtreecommitdiffstats
path: root/src/citra_qt/main.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2016-08-30 03:28:58 +0200
committerbunnei <bunneidev@gmail.com>2016-08-30 03:42:32 +0200
commit02702c66052c10b10ba0a6af6ab34734886d3728 (patch)
tree3ec2892bd94e7cf346867d8194883fdf53e084a7 /src/citra_qt/main.cpp
parentsystem: Add a function to see if the emulator is running. (diff)
downloadyuzu-02702c66052c10b10ba0a6af6ab34734886d3728.tar
yuzu-02702c66052c10b10ba0a6af6ab34734886d3728.tar.gz
yuzu-02702c66052c10b10ba0a6af6ab34734886d3728.tar.bz2
yuzu-02702c66052c10b10ba0a6af6ab34734886d3728.tar.lz
yuzu-02702c66052c10b10ba0a6af6ab34734886d3728.tar.xz
yuzu-02702c66052c10b10ba0a6af6ab34734886d3728.tar.zst
yuzu-02702c66052c10b10ba0a6af6ab34734886d3728.zip
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() {
if (emu_thread != nullptr)
ShutdownGame();
+ render_window->InitRenderTarget();
render_window->MakeCurrent();
+
if (!gladLoadGL()) {
QMessageBox::critical(this, tr("Error while starting Citra!"),
tr("Failed to initialize the video core!\n\n"