aboutsummaryrefslogtreecommitdiff
path: root/backend/x11/backend.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-03-29 19:44:57 -0400
committeremersion <contact@emersion.fr>2018-03-29 19:44:57 -0400
commit6bbf50708263dbda2a61a7c882d841f0b7b65ad6 (patch)
treea282fbc316c045ffc5bbac003450bfb380c65d18 /backend/x11/backend.c
parent4137d9fc80fdf2ef03ff69a0b75ab52123517408 (diff)
surface: fix texture not updated on commit
When a client attaches a wl_drm or a linux_dmabuf buffer, we only update it if the size is different from the one of the old buffer. This means that if the client attaches a new, updated buffer with the same size as the old buffer, the texture won't get updated. This commit changes this behavior and re-creates the texture if the client attaches a new buffer, without requiring the size to be different.
Diffstat (limited to 'backend/x11/backend.c')
0 files changed, 0 insertions, 0 deletions