mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-17 00:32:57 +00:00
kdrive/mga: fix compiler warning
Change a case that only made one test for an if, preventing the compiler warning about all other PICT_* types being unsupported.
This commit is contained in:
parent
2f0a800ffd
commit
8724af248c
1 changed files with 1 additions and 3 deletions
|
|
@ -286,10 +286,8 @@ mgaCheckComposite(int op, PicturePtr pSrcPicture, PicturePtr pMaskPicture,
|
||||||
if (pMaskPicture->componentAlpha)
|
if (pMaskPicture->componentAlpha)
|
||||||
MGA_FALLBACK(("Component alpha unsupported"));
|
MGA_FALLBACK(("Component alpha unsupported"));
|
||||||
|
|
||||||
switch (pDstPicture->format) {
|
if (pDstPicture->format == PICT_a8)
|
||||||
case PICT_a8:
|
|
||||||
MGA_FALLBACK(("render to A8 unsupported"));
|
MGA_FALLBACK(("render to A8 unsupported"));
|
||||||
}
|
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue