fix: compile
This commit is contained in:
parent
885d53baf5
commit
d2742a35a4
|
|
@ -542,7 +542,6 @@ ms_update_scanout_damages(ScrnInfoPtr scrn, DamagePtr damage)
|
|||
RegionIntersect(&pixregion, &pixregion, dmg_region);
|
||||
RegionUnion(&drmmode_crtc->shadow_nonrotated->screen_damage,
|
||||
&drmmode_crtc->shadow_nonrotated->screen_damage,
|
||||
 
|
||||
&pixregion);
|
||||
|
||||
/* also update the shadow backbuffer's damages if available */
|
||||
|
|
|
|||
|
|
@ -1417,7 +1417,6 @@ drmmode_update_scanout_buffer(xf86CrtcPtr crtc, drmmode_shadow_scanout_ptr scano
|
|||
|
||||
subWindowMode.val = IncludeInferiors;
|
||||
ChangeGC(NullClient, pGC, GCSubwindowMode, &subWindowMode);
|
||||
   +12
|
||||
}
|
||||
ValidateGC(&dst->drawable, pGC);
|
||||
|
||||
|
|
|
|||
|
|
@ -229,7 +229,7 @@ queue_flip_on_crtc(ScreenPtr screen, xf86CrtcPtr crtc,
|
|||
if (!ret) {
|
||||
/* Aborting will also decrement flip_count and free(flip). */
|
||||
ms_drm_abort_seq(scrn, seq);
|
||||
return QUEUE_FLIP_QUEUE_ALLOC_FAILED
|
||||
return QUEUE_FLIP_QUEUE_ALLOC_FAILED;
|
||||
}
|
||||
|
||||
/* The page flip succeeded. */
|
||||
|
|
@ -512,7 +512,7 @@ ms_do_tearfree_flip(xf86CrtcPtr crtc)
|
|||
uint32_t seq;
|
||||
|
||||
/* exit if the current crtc is off or not using tear-free */
|
||||
if (!ms_crtc_on(crtc) || !drmmode_crtc->shadow_nonrotated_back)
|
||||
if (!xf86_crtc_on(crtc) || !drmmode_crtc->shadow_nonrotated_back)
|
||||
return;
|
||||
|
||||
/* exit if an update has already been scheduled */
|
||||
|
|
|
|||
Loading…
Reference in New Issue