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

--- Comment #13 from Zamundaaa <[email protected]> ---
Git commit e863dcc6acc8891cd03fa0f87eb12ae848a7a6d8 by Xaver Hugl.
Committed on 17/11/2026 at 13:04.
Pushed by zamundaaa into branch 'Plasma/6.8'.

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.
(cherry picked from commit 238e65013ec1a7e073c0fa7f184a6a8b42836f46)

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/e863dcc6acc8891cd03fa0f87eb12ae848a7a6d8

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

Reply via email to