mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 05:54:08 +00:00
modesetting/present.c: Initialze '*reason' in the check_flip2 proc
Signed-off-by: stefan11111 <stefan11111@shitposting.expert>
This commit is contained in:
committed by
Enrico Weigelt
parent
dba40b75c4
commit
1762a02331
@@ -323,6 +323,9 @@ ms_present_check_flip(RRCrtcPtr crtc,
|
||||
modesettingPtr ms = modesettingPTR(scrn);
|
||||
Bool async_flip = !sync_flip;
|
||||
|
||||
if (reason)
|
||||
*reason = PRESENT_FLIP_REASON_UNKNOWN;
|
||||
|
||||
if (ms->drmmode.sprites_visible > 0)
|
||||
goto no_flip;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user