Skip to content

scene: do not reset scene_buffer state on buffer release

This fixes an issue with some buffers not rendering anymore due to buffer_width and buffer_height being reset on buffer release.


As discussed via IRC. Issue was seen on compositor provided buffers that

  • have some transparency
  • are not locked

Due to the internal wlr_buffer_lock() and wlr_buffer_unlock() after texture upload the release handler will be triggered and even though a texture exists the scene_buffers would not be rendered anymore.

Merge request reports

Loading