mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:44:02 +02:00
change paintGL to return if window is minimized
This commit is contained in:
parent
384f404602
commit
1b2887d5b1
1 changed files with 1 additions and 1 deletions
|
@ -2071,7 +2071,7 @@ void Application::initializeUi() {
|
|||
|
||||
void Application::paintGL() {
|
||||
// Some plugins process message events, allowing paintGL to be called reentrantly.
|
||||
if (_inPaint || _aboutToQuit) {
|
||||
if (_inPaint || _aboutToQuit || _window->isMinimized()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue