diff options
Diffstat (limited to 'src/glamo-draw.c')
-rw-r--r-- | src/glamo-draw.c | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/src/glamo-draw.c b/src/glamo-draw.c index 6d4ea15..17c1e6b 100644 --- a/src/glamo-draw.c +++ b/src/glamo-draw.c @@ -307,25 +307,13 @@ GLAMOExaPrepareSolid(PixmapPtr pPix, FbBits mask; RING_LOCALS; -/* if (pPix->drawable.bitsPerPixel != 16) - GLAMO_FALLBACK(("Only 16bpp is supported\n"));*/ + if (pPix->drawable.bitsPerPixel != 16) + GLAMO_FALLBACK(("Only 16bpp is supported\n")); mask = FbFullMask(16); if ((pm & mask) != mask) GLAMO_FALLBACK(("Can't do planemask 0x%08x\n", (unsigned int) pm)); - switch (pPix->drawable.bitsPerPixel) { - case 8: - if (pPix->devKind & 1) - return FALSE; - fg = (fg | fg << 8); - case 16: - break; - default: - return FALSE; - break; - } - op = GLAMOSolidRop[alu] << 8; offset = exaGetPixmapOffset(pPix); pitch = pPix->devKind; |