History

Don't trigger a backtrace exception on quitting while in HMD

Bradley Austin Davis committed 8 years ago

Commit 2c514b51 parent 40851b01 file · +1 −1Browse files

Showing the changes to interface/src/Application_render.cpp (1 of 1 file). Show all

Unified · Split

interface/src/Application_render.cpp+1−1
@@ -55,7 +55,7 @@ void Application::paintGL() { · 54 unmodified lines
55 // If a display plugin loses it's underlying support, it55 // If a display plugin loses it's underlying support, it
56 // needs to be able to signal us to not use it56 // needs to be able to signal us to not use it
57 if (!displayPlugin->beginFrameRender(_renderFrameCount)) {57 if (!displayPlugin->beginFrameRender(_renderFrameCount)) {
58 updateDisplayMode();58 QMetaObject::invokeMethod(this, "updateDisplayMode");
59 return;59 return;
60 }60 }
61 }61 }