summaryrefslogtreecommitdiff
path: root/hw/xfree86/xf4bpp/vgaBitBlt.c
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-25 19:29:01 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-25 19:29:01 +0000
commitadc7f9a4ebdfe11d4cd6de9388b63dfe36450b39 (patch)
tree23eb7becc5360b2cbe16aa8d45529880067f3989 /hw/xfree86/xf4bpp/vgaBitBlt.c
parent90f1536dd315cd265bfc7ef35058761a65a01734 (diff)
XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folks
Diffstat (limited to 'hw/xfree86/xf4bpp/vgaBitBlt.c')
-rw-r--r--hw/xfree86/xf4bpp/vgaBitBlt.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/hw/xfree86/xf4bpp/vgaBitBlt.c b/hw/xfree86/xf4bpp/vgaBitBlt.c
index 53eb3b314..660cc356b 100644
--- a/hw/xfree86/xf4bpp/vgaBitBlt.c
+++ b/hw/xfree86/xf4bpp/vgaBitBlt.c
@@ -1,4 +1,4 @@
-/* $XFree86: xc/programs/Xserver/hw/xfree86/xf4bpp/vgaBitBlt.c,v 1.4 2002/01/25 21:56:22 tsi Exp $ */
+/* $XFree86: xc/programs/Xserver/hw/xfree86/xf4bpp/vgaBitBlt.c,v 1.6 2003/11/17 22:20:42 dawes Exp $ */
/* GJA -- span move routines */
@@ -101,33 +101,23 @@ static unsigned char rmasktab[] = {
}
static void aligned_blit(
-#if NeedFunctionPrototypes
WindowPtr, int, int, int, int, int, int, int, int
-#endif
);
static void aligned_blit_center(
-#if NeedFunctionPrototypes
WindowPtr, int, int, int, int, int, int
-#endif
);
static void shift(
-#if NeedFunctionPrototypes
WindowPtr, int, int, int, int, int, int, int
-#endif
);
static void shift_thin_rect(
-#if NeedFunctionPrototypes
WindowPtr, int, int, int, int, int, int, int
-#endif
);
static void shift_center(
-#if NeedFunctionPrototypes
WindowPtr, int, int, int, int, int, int, int
-#endif
);
void xf4bppBitBlt(pWin,alu,writeplanes,x0,y0,x1,y1,w,h)
@@ -535,13 +525,10 @@ int h;
int pad;
int htmp, wtmp; /* Temporaries for indices over height and width */
volatile unsigned char tmp; /* Temporary result of the shifts */
- int bs;
int bytecnt;
volatile unsigned char *sp, *dp;
- bs = (x1 - x0) & WMASK;
-
if ( l1 ) {
bytecnt = (w - (WORDSZ - l1) - r1) >> WSHIFT;
sp = SMEM( ((x0 + (WORDSZ - l1)) >> WSHIFT), y0);