summaryrefslogtreecommitdiff
path: root/xserver/fb/fbcopy.c
diff options
context:
space:
mode:
Diffstat (limited to 'xserver/fb/fbcopy.c')
-rw-r--r--xserver/fb/fbcopy.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/xserver/fb/fbcopy.c b/xserver/fb/fbcopy.c
index 6af10ccf7..3af128ada 100644
--- a/xserver/fb/fbcopy.c
+++ b/xserver/fb/fbcopy.c
@@ -241,14 +241,8 @@ fbCopyArea(DrawablePtr pSrcDrawable,
GCPtr pGC,
int xIn, int yIn, int widthSrc, int heightSrc, int xOut, int yOut)
{
- miCopyProc copy;
-
- if (pSrcDrawable->bitsPerPixel != pDstDrawable->bitsPerPixel)
- copy = fb24_32CopyMtoN;
- else
- copy = fbCopyNtoN;
return miDoCopy(pSrcDrawable, pDstDrawable, pGC, xIn, yIn,
- widthSrc, heightSrc, xOut, yOut, copy, 0, 0);
+ widthSrc, heightSrc, xOut, yOut, fbCopyNtoN, 0, 0);
}
RegionPtr