Skip to content

opengl/eglcontext: tell Qt when the OpenGL context gets changed

Xaver Hugl requested to merge work/cherry-pick-8c3332f6 into Plasma/6.0

Otherwise, Qt thinks the old context is still current and will do things like destroying VAOs with KWin's context, which ends up destroying the VAO of the context and breaks rendering.

BUG: 479094

(cherry picked from commit 8c3332f6)

Merge request reports

Loading