Skip to content

opengl: skip deleting OpenGL objects if there's no current context

Xaver Hugl requested to merge work/cherry-pick-f9b4d2de into Plasma/6.3

Otherwise, when a GPU reset happens, we might crash trying to run OpenGL functions without a context (which can't be made current, because the context is reset)

(cherry picked from commit f9b4d2de)

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

Merge request reports

Loading