Skip to content
Commit 2819cb51 authored by Derek Foreman's avatar Derek Foreman
Browse files

clients/constraints: Fix up buffer handling



Clear the selected buffer pointer immediately before the array walk to
pick a new buffer so we don't accidentally re-use the attached buffer
when it's already in use.

Set the buffer used bit only when we attach and commit a buffer - this way
we don't accidentally consume all our buffers with no way to have them
released.

Clean up buffers based on wl_buffer presence instead of used at end of
run.

Signed-off-by: default avatarDerek Foreman <derek.foreman@collabora.com>
parent 83b37c0a
Loading
Loading
Loading
Pipeline #1204443 passed with stages
in 5 minutes and 49 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment