fix: compile

This commit is contained in:
Aurelien Rebourg 2022-10-10 15:32:33 +02:00
parent 885d53baf5
commit d2742a35a4
No known key found for this signature in database
GPG Key ID: DCA8C44ABFE7F847
3 changed files with 2 additions and 4 deletions

View File

@ -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 */

View File

@ -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);

View File

@ -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 */