opengl: Reset OpenGlContext::currentContext() if it's destroyed
GlxContext destructor doesn't reset s_currentContext.
(cherry picked from commit cfe5bf20)
71ad3249 opengl: Reset OpenGlContext::currentContext() if it's destroyed
Co-authored-by: Vlad Zahorodnii vlad.zahorodnii@kde.org