summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2001-02-07 18:59:45 +0000
committerBrian Paul <[email protected]>2001-02-07 18:59:45 +0000
commit9a0b12ab00a82a6060ca33e17fc135179024751c (patch)
tree8c3bf9c01b10a9702d68fdaf492b103922aef655
parentb4736f5e17b23d82ab369c26370c8ff26c45d1d1 (diff)
fixed texel indexing bug in _mesa_GetTexImage()
-rw-r--r--src/mesa/main/teximage.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c
index edb08e3d32f..22973c35f80 100644
--- a/src/mesa/main/teximage.c
+++ b/src/mesa/main/teximage.c
@@ -1,4 +1,4 @@
-/* $Id: teximage.c,v 1.74 2001/02/07 16:27:41 brianp Exp $ */
+/* $Id: teximage.c,v 1.75 2001/02/07 18:59:45 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -1150,7 +1150,7 @@ _mesa_GetTexImage( GLenum target, GLint level, GLenum format,
GLint col;
for (col = 0; col < width; col++) {
(*texImage->FetchTexel)(ctx, texObj, texImage,
- img, row, col, rgba[col]);
+ col, row, img, rgba[col]);
}
_mesa_pack_rgba_span( ctx, width, (const GLchan (*)[4])rgba,