From 1b2887d5b1784a9ebd6af66ece5b3c4b5a315a15 Mon Sep 17 00:00:00 2001 From: Triplelexx Date: Thu, 6 Apr 2017 17:06:06 +0100 Subject: [PATCH] change paintGL to return if window is minimized --- interface/src/Application.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index e19eea0a2e..593136e7b4 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -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; }