diff options
| author | 2015-05-18 21:24:43 -0700 | |
|---|---|---|
| committer | 2015-05-22 15:51:33 -0700 | |
| commit | 16fbba3c2a21bf92e9dd6d17c89da9bccf339691 (patch) | |
| tree | 3950e0267cc2cb1f624d0db3647cffacf4692307 /src/citra_qt/main.cpp | |
| parent | OpenGL renderer (diff) | |
| download | yuzu-16fbba3c2a21bf92e9dd6d17c89da9bccf339691.tar.gz yuzu-16fbba3c2a21bf92e9dd6d17c89da9bccf339691.tar.xz yuzu-16fbba3c2a21bf92e9dd6d17c89da9bccf339691.zip | |
MakeCurrent race condition fix
Diffstat (limited to 'src/citra_qt/main.cpp')
| -rw-r--r-- | src/citra_qt/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cpp index 2ea33ebc5..f6010459a 100644 --- a/src/citra_qt/main.cpp +++ b/src/citra_qt/main.cpp | |||
| @@ -216,6 +216,7 @@ void GMainWindow::BootGame(std::string filename) { | |||
| 216 | // Create and start the emulation thread | 216 | // Create and start the emulation thread |
| 217 | emu_thread = Common::make_unique<EmuThread>(render_window); | 217 | emu_thread = Common::make_unique<EmuThread>(render_window); |
| 218 | emit EmulationStarting(emu_thread.get()); | 218 | emit EmulationStarting(emu_thread.get()); |
| 219 | render_window->moveContext(); | ||
| 219 | emu_thread->start(); | 220 | emu_thread->start(); |
| 220 | 221 | ||
| 221 | // BlockingQueuedConnection is important here, it makes sure we've finished refreshing our views before the CPU continues | 222 | // BlockingQueuedConnection is important here, it makes sure we've finished refreshing our views before the CPU continues |