Commit 06ef320e authored by Michel Dänzer's avatar Michel Dänzer Committed by Michel Dänzer
Browse files

modesetting: Add glamor_finish() convenience macro



This will simplify backporting the following fix to the 1.20 branch.
Reviewed-by: Adam Jackson's avatarAdam Jackson <ajax@redhat.com>
parent e6ab7f9f
......@@ -158,6 +158,8 @@ typedef struct _modesettingRec {
} modesettingRec, *modesettingPtr;
#define glamor_finish(screen) ms->glamor.finish(screen)
#define modesettingPTR(p) ((modesettingPtr)((p)->driverPrivate))
modesettingEntPtr ms_ent_priv(ScrnInfoPtr scrn);
......
......@@ -1457,7 +1457,7 @@ drmmode_copy_fb(ScrnInfoPtr pScrn, drmmode_ptr drmmode)
FreeScratchGC(gc);
ms->glamor.finish(pScreen);
glamor_finish(pScreen);
pScreen->canDoBGNoneRoot = TRUE;
......
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