diff options
-rw-r--r-- | exa/exa_accel.c | 2 | ||||
-rw-r--r-- | exa/exa_unaccel.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/exa/exa_accel.c b/exa/exa_accel.c index 6c677c7a1..b4c0f8351 100644 --- a/exa/exa_accel.c +++ b/exa/exa_accel.c @@ -1057,6 +1057,8 @@ exaFillRegionSolid (DrawablePtr pDrawable, RegionPtr pRegion, Pixel pixel, *(CARD16*)pExaPixmap->sys_ptr = pixel; break; case 8: + case 4: + case 1: *(CARD8*)pExaPixmap->sys_ptr = pixel; } diff --git a/exa/exa_unaccel.c b/exa/exa_unaccel.c index a078cc114..d3c405fb1 100644 --- a/exa/exa_unaccel.c +++ b/exa/exa_unaccel.c @@ -748,6 +748,8 @@ exaGetPixmapFirstPixel (PixmapPtr pPixmap) return pixel; } case 8: + case 4: + case 1: { CARD8 pixel; |