summaryrefslogtreecommitdiff
path: root/hw/kdrive/mga/g400_composite.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/kdrive/mga/g400_composite.c')
-rw-r--r--hw/kdrive/mga/g400_composite.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/hw/kdrive/mga/g400_composite.c b/hw/kdrive/mga/g400_composite.c
index 671e517fb..da2e8b810 100644
--- a/hw/kdrive/mga/g400_composite.c
+++ b/hw/kdrive/mga/g400_composite.c
@@ -286,10 +286,8 @@ mgaCheckComposite(int op, PicturePtr pSrcPicture, PicturePtr pMaskPicture,
if (pMaskPicture->componentAlpha)
MGA_FALLBACK(("Component alpha unsupported"));
- switch (pDstPicture->format) {
- case PICT_a8:
+ if (pDstPicture->format == PICT_a8)
MGA_FALLBACK(("render to A8 unsupported"));
- }
return TRUE;
}