modesetting: Add glamor_finish() convenience macro
This will simplify backporting the following fix to the 1.20 branch. Reviewed-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
e6ab7f9f34
commit
06ef320e9b
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue