There's never a copy between different depths. Remove the check.

This commit is contained in:
Eric Anholt 2003-12-30 08:45:53 +00:00
parent c8eb20a08e
commit 5f947b04da

View File

@ -171,11 +171,6 @@ TAG(ATIPrepareCopy)(PixmapPtr pSrc, PixmapPtr pDst, int dx, int dy, int alu, Pix
CARD32 datatype;
LOCALS;
/* No acceleration between different formats */
if (pSrc->drawable.bitsPerPixel != pDst->drawable.bitsPerPixel)
ATI_FALLBACK(("src bpp != dst bpp (%d vs %d)\n",
pSrc->drawable.bitsPerPixel, pDst->drawable.bitsPerPixel));
copydx = dx;
copydy = dy;