mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-07 10:10:15 +01:00
fb: Use the correct planemask in fbFillRegionTiled.
This commit is contained in:
parent
86b319d7cb
commit
7798f3abce
1 changed files with 7 additions and 5 deletions
|
|
@ -282,11 +282,7 @@ fbFillRegionTiled (DrawablePtr pDrawable,
|
|||
BoxPtr pbox = REGION_RECTS(pRegion);
|
||||
int xRot = pDrawable->x;
|
||||
int yRot = pDrawable->y;
|
||||
#ifdef ROOTLESS_SAFEALPHA
|
||||
FbBits planeMask = FB_ALLONES & ~RootlessAlphaMask(dstBpp);
|
||||
#else
|
||||
FbBits planeMask = FB_ALLONES;
|
||||
#endif
|
||||
FbBits planeMask;
|
||||
|
||||
#ifdef PANORAMIX
|
||||
if(!noPanoramiXExtension)
|
||||
|
|
@ -305,6 +301,12 @@ fbFillRegionTiled (DrawablePtr pDrawable,
|
|||
tileHeight = pTile->drawable.height;
|
||||
xRot += dstXoff;
|
||||
yRot += dstYoff;
|
||||
|
||||
#ifdef ROOTLESS_SAFEALPHA
|
||||
planeMask = FB_ALLONES & ~RootlessAlphaMask(dstBpp);
|
||||
#else
|
||||
planeMask = FB_ALLONES;
|
||||
#endif
|
||||
|
||||
while (n--)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue