mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-28 09:59:56 +00:00
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:
committed by
Michel Dänzer
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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user