Commit 4adda1f6 authored by Roman Gilg's avatar Roman Gilg Committed by Michel Dänzer
Browse files

present: Call present_vblank_scrap in screen mode

This cleans up some code duplication. No functional change.
Signed-off-by: Roman Gilg's avatarRoman Gilg <>
Reviewed-by: Michel Dänzer's avatarMichel Dänzer <>
parent d7b1753d
......@@ -716,18 +716,7 @@ present_scmd_pixmap(WindowPtr window,
if (vblank->crtc != target_crtc || vblank->target_msc != target_msc)
DebugPresent(("\tx %" PRIu64 " %p %" PRIu64 ": %08" PRIx32 " -> %08" PRIx32 " (crtc %p)\n",
vblank->event_id, vblank, vblank->target_msc,
vblank->pixmap->, vblank->window->,
present_pixmap_idle(vblank->pixmap, vblank->window, vblank->serial, vblank->idle_fence);
dixDestroyPixmap(vblank->pixmap, vblank->pixmap->;
vblank->pixmap = NULL;
vblank->idle_fence = NULL;
vblank->flip = FALSE;
if (vblank->flip_ready)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment