mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 10:37:35 +02:00
Don't trigger a backtrace exception on quitting while in HMD
This commit is contained in:
parent
725eb14163
commit
d2f5645f96
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