diff options
Diffstat (limited to 'vcl/opengl/gdiimpl.cxx')
-rw-r--r-- | vcl/opengl/gdiimpl.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/opengl/gdiimpl.cxx b/vcl/opengl/gdiimpl.cxx index e847cb4ec324..caecec0d4621 100644 --- a/vcl/opengl/gdiimpl.cxx +++ b/vcl/opengl/gdiimpl.cxx @@ -63,7 +63,8 @@ public: virtual void Invoke() override { m_pImpl->doFlush(); - SetPriority( TaskPriority::HIGHEST ); + if (GetPriority() != TaskPriority::HIGHEST) + SetPriority(TaskPriority::HIGHEST); Stop(); } }; |