Skip to content

opengl/glrendertimequery: restore the previous OpenGL context after queries and destruction

Xaver Hugl requested to merge work/cherry-pick-23c7f5d4 into Plasma/6.2

A lot of code in KWin expects the scene context to be current, so if the render time query changes the context, that code can misbehave severely.

(cherry picked from commit 23c7f5d4)

Co-authored-by: Xaver Hugl xaver.hugl@gmail.com

Merge request reports

Loading