From 7e16da7b78c422f96387502b9cc29eaa1741543f Mon Sep 17 00:00:00 2001 From: Soren Sandmann Pedersen Date: Tue, 24 Apr 2007 18:15:34 -0400 Subject: Remove #if 0'ed blocks --- fb/fbpict.c | 41 ----------------------------------------- 1 file changed, 41 deletions(-) (limited to 'fb/fbpict.c') diff --git a/fb/fbpict.c b/fb/fbpict.c index d027e3571..8ca733604 100644 --- a/fb/fbpict.c +++ b/fb/fbpict.c @@ -783,47 +783,6 @@ fbCompositeSrc_8888x0565 (CARD8 op, fbFinishAccess (pSrc->pDrawable); } -#if 0 -void -fbCompositeSrc_0565x0565 (CARD8 op, - PicturePtr pSrc, - PicturePtr pMask, - PicturePtr pDst, - INT16 xSrc, - INT16 ySrc, - INT16 xMask, - INT16 yMask, - INT16 xDst, - INT16 yDst, - CARD16 width, - CARD16 height) -{ - CARD16 *dstLine, *dst; - CARD16 *srcLine, *src; - FbStride dstStride, srcStride; - CARD16 w; - - fbComposeGetStart (pSrc, xSrc, ySrc, CARD16, srcStride, srcLine, 1); - - fbComposeGetStart (pDst, xDst, yDst, CARD16, dstStride, dstLine, 1); - - while (height--) - { - dst = dstLine; - dstLine += dstStride; - src = srcLine; - srcLine += srcStride; - w = width; - - while (w--) - WRITE(dst, READ(src++)); - } - - fbFinishAccess (pDst->pDrawable); - fbFinishAccess (pSrc->pDrawable); -} -#endif - void fbCompositeSrcAdd_8000x8000 (CARD8 op, PicturePtr pSrc, -- cgit v1.2.3