https://bugs.kde.org/show_bug.cgi?id=528488

--- Comment #12 from Zamundaaa <[email protected]> ---
Git commit 238e65013ec1a7e073c0fa7f184a6a8b42836f46 by Xaver Hugl.
Committed on 16/11/2026 at 23:13.
Pushed by zamundaaa into branch 'master'.

effect/effecthandler: fix crash on context creation failure

There were two problems:
- the context can be nullptr if creating it fails due to a GPU reset
- the context was fetched from the RenderDevice, which re-creates it
  automatically in the case of a GPU reset. The new context isn't useful for
  cleaning up effects though, since their GPU resources are from the old one.

M  +9    -3    src/effect/effecthandler.cpp
M  +5    -0    src/scene/itemrenderer.cpp
M  +2    -0    src/scene/itemrenderer.h
M  +5    -0    src/scene/itemrenderer_opengl.cpp
M  +1    -0    src/scene/itemrenderer_opengl.h

https://invent.kde.org/plasma/kwin/-/commit/238e65013ec1a7e073c0fa7f184a6a8b42836f46

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to