summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_copypix.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2002-01-28 04:25:56 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2002-01-28 04:25:56 +0000
commit6e1666437ea091ecc50ab2b56d87129318f641d2 (patch)
tree2ecf6d4bd87f0acd5ca3379654814273182106da /src/mesa/swrast/s_copypix.c
parent7956292a765910077f50352d7cd0174e1e66d26c (diff)
downloadexternal_mesa3d-6e1666437ea091ecc50ab2b56d87129318f641d2.zip
external_mesa3d-6e1666437ea091ecc50ab2b56d87129318f641d2.tar.gz
external_mesa3d-6e1666437ea091ecc50ab2b56d87129318f641d2.tar.bz2
Still more texture/span simplification and clean-up.
Updated comments, fixed indentation, etc.
Diffstat (limited to 'src/mesa/swrast/s_copypix.c')
-rw-r--r--src/mesa/swrast/s_copypix.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mesa/swrast/s_copypix.c b/src/mesa/swrast/s_copypix.c
index 718a082..7d2bca3 100644
--- a/src/mesa/swrast/s_copypix.c
+++ b/src/mesa/swrast/s_copypix.c
@@ -1,4 +1,4 @@
-/* $Id: s_copypix.c,v 1.30 2002/01/28 03:42:28 brianp Exp $ */
+/* $Id: s_copypix.c,v 1.31 2002/01/28 04:25:56 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -299,8 +299,7 @@ copy_rgba_pixels(GLcontext *ctx, GLint srcx, GLint srcy,
SWcontext *swrast = SWRAST_CONTEXT(ctx);
GLchan *tmpImage,*p;
GLboolean quick_draw;
- GLint sy, dy, stepy;
- GLint i, j;
+ GLint sy, dy, stepy, j;
GLboolean changeBuffer;
GLchan *saveReadAlpha;
const GLboolean zoom = ctx->Pixel.ZoomX != 1.0F || ctx->Pixel.ZoomY != 1.0F;