mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-27 05:50:06 +01:00
present: Fix missed notify MSC computation
Only treat divisor==0 as async to immediately report the actual vblank. If the user species a non-zero divisor, we should compute the missed vblank properly or else we report too early. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Mario Kleiner <mario.kleiner.de@gmail.com>
This commit is contained in:
parent
702c0a247f
commit
413cb2ff1d
1 changed files with 1 additions and 1 deletions
|
|
@ -933,7 +933,7 @@ present_notify_msc(WindowPtr window,
|
|||
0, 0,
|
||||
NULL,
|
||||
NULL, NULL,
|
||||
PresentOptionAsync,
|
||||
divisor == 0 ? PresentOptionAsync : 0,
|
||||
target_msc, divisor, remainder, NULL, 0);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue