Commit 449fedec authored by Alex Deucher's avatar Alex Deucher

fix Solid()

Unforunately, for 32 bpp solid fills the HW ignores alpha.
parent 6d40f87d
......@@ -332,6 +332,10 @@ SMI_PrepareSolid(PixmapPtr pPixmap, int alu, Pixel planemask, Pixel fg)
ENTER_PROC("SMI_PrepareSolid");
DEBUG((VERBLEV, "alu=%02X\n", alu));
/* HW ignores alpha */
if (pPixmap->drawable.bitsPerPixel == 32)
return FALSE;
/* Bit Mask not supported > 16 bpp */
if ((pPixmap->drawable.bitsPerPixel > 16) &&
(!EXA_PM_IS_SOLID(&pPixmap->drawable, planemask))) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment