flush_head() already sets the scan-out buffer if necessary and if it is not necessary then we do not want to do this. Specifically second and later heads do not yet have their buffer drawn to when activate gets called from the map_to_device call for the first head and then we do not want to start scanning out the uninitialized buffer. Removing the explicit ply_renderer_head_set_scan_out_buffer() call also allows removing the if (head->scan_out_buffer_id != 0) check, flush_head() already checks this itself. Signed-off-by: Hans de Goede <hdegoede@redhat.com>calculate-0.9.5
parent
e0928370b6
commit
b293882d7c
Loading…
Reference in new issue