Skip to content
Commit 2b8453ab authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

platforms/x11: Port away from GLTexture::discard()

Currently, if discard() is called, kwin will crash because
EglPixmapTexture does not override the discard method.

In principle, neither GlxPixmapTexture nor EglPixmapTexture should mess
around with internals of the GLTexture class. It is better to have a
wrapper texture with a bind method, which will re-bind the pixmap to the
opengl texture if necessary.
parent 3b8b87a6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment