mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 22:28:37 +02:00
Merge pull request #12364 from jherico/fix/display_plugin_crash
Don't trigger a backtrace exception on quitting while in HMD
This commit is contained in:
commit
97abdb63db
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ void Application::paintGL() {
|
||||||
// If a display plugin loses it's underlying support, it
|
// If a display plugin loses it's underlying support, it
|
||||||
// needs to be able to signal us to not use it
|
// needs to be able to signal us to not use it
|
||||||
if (!displayPlugin->beginFrameRender(_renderFrameCount)) {
|
if (!displayPlugin->beginFrameRender(_renderFrameCount)) {
|
||||||
updateDisplayMode();
|
QMetaObject::invokeMethod(this, "updateDisplayMode");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue