projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4736f5
)
fixed texel indexing bug in _mesa_GetTexImage()
author
Brian Paul
<brian.paul@tungstengraphics.com>
Wed, 7 Feb 2001 18:59:45 +0000
(18:59 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Wed, 7 Feb 2001 18:59:45 +0000
(18:59 +0000)
src/mesa/main/teximage.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/teximage.c
b/src/mesa/main/teximage.c
index edb08e3d32fd83186b12537520c40366f9d82d94..22973c35f8054df11b65f8629025afd65622937f 100644
(file)
--- a/
src/mesa/main/teximage.c
+++ b/
src/mesa/main/teximage.c
@@
-1,4
+1,4
@@
-/* $Id: teximage.c,v 1.7
4 2001/02/07 16:27:41
brianp Exp $ */
+/* $Id: teximage.c,v 1.7
5 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,