diff options
author | bunnei <bunneidev@gmail.com> | 2016-08-31 22:20:54 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-31 22:20:54 -0400 |
commit | 09063dc5bb1e2b769c10077bf820a5300494c119 (patch) | |
tree | ad997ee86470e23e9dfa67a1d9824a57cdcf5571 /src/citra_qt/main.cpp | |
parent | 549d0c171563423f024de754a82ab033d31294d1 (diff) | |
parent | a71013cf16668a8d781a890823b6f6f203b865e9 (diff) |
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.cpp | 2 |
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" |