projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a78221
)
fix byte swap bug for GLint stencil indexes (bug 11909)
author
Brian
<brian.paul@tungstengraphics.com>
Thu, 9 Aug 2007 07:47:05 +0000
(08:47 +0100)
committer
Brian
<brian.paul@tungstengraphics.com>
Thu, 9 Aug 2007 07:49:05 +0000
(08:49 +0100)
src/mesa/main/image.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/image.c
b/src/mesa/main/image.c
index 9760e5f8d2422a09c826238a5047c6d26bc7e1c0..347cec66ef496d6abf2562f5462c00c1f527072d 100644
(file)
--- a/
src/mesa/main/image.c
+++ b/
src/mesa/main/image.c
@@
-3794,7
+3794,7
@@
_mesa_pack_stencil_span( const GLcontext *ctx, GLuint n,
GLint *dst = (GLint *) dest;
GLuint i;
for (i=0;i<n;i++) {
-
*dst++
= (GLint) source[i];
+
dst[i]
= (GLint) source[i];
}
if (dstPacking->SwapBytes) {
_mesa_swap4( (GLuint *) dst, n );