Skip to content

opengl: Reset OpenGlContext::currentContext() if it's destroyed

Vlad Zahorodnii requested to merge work/cherry-pick-cfe5bf20 into Plasma/6.1

GlxContext destructor doesn't reset s_currentContext.

BUG: 488830

(cherry picked from commit cfe5bf20)

71ad3249 opengl: Reset OpenGlContext::currentContext() if it's destroyed

Co-authored-by: Vlad Zahorodnii vlad.zahorodnii@kde.org

Merge request reports