OSDN Git Service
(root)
/
android-x86
/
external-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
9760e5f
..
347cec6
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 );