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

David Edmundson <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://commits.kde.org/kwi
                   |                            |n/1783fda30eee41fb1bc74e727
                   |                            |6f90b8f29648817
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #2 from David Edmundson <[email protected]> ---
Git commit 1783fda30eee41fb1bc74e7276f90b8f29648817 by David Edmundson.
Committed on 20/09/2017 at 16:46.
Pushed by davidedmundson into branch 'Plasma/5.11'.

Make sure OpenGL Context is valid before deleting shader

Summary:
Deleting the lanczos filter deletes it's GLShader, this calls
glDeleteProgram

glFooBar always needs to have an openGL context, we don't know we have
this on a screen changed event as it is called from outside the normal
render methods.

Test Plan:
Ran on my wayland session. Switched geometry a lot, couldn't reproduce the
crash.
Ran on my desktop session, seemed the same as before

Reviewers: #plasma, graesslin

Reviewed By: #plasma, graesslin

Subscribers: graesslin, plasma-devel, kwin, #kwin

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D7888

M  +7    -9    scene_opengl.cpp
M  +0    -3    scene_opengl.h

https://commits.kde.org/kwin/1783fda30eee41fb1bc74e7276f90b8f29648817

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

Reply via email to