Skip to content
Commit e541aea2 authored by Philipp Zabel's avatar Philipp Zabel Committed by Marius Vlad
Browse files

backend-rdp: make sure to finish frames with timestamps in the past



Round up the ms delay to make sure that the finish_frame_timer always
expires after the next frame_time. That way, finish_frame_handler()
never passes a timestamp in the future to weston_output_finish_frame().
Setting frame_time into the future risks hitting an assert in
weston_output_finish_frame(), when it is called from start_repaint_loop
within the frame interval.

Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
parent 5a95339d
Loading
Loading
Loading
Pipeline #986464 passed with stages
in 2 minutes and 51 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