summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2009-01-20 11:13:05 +0100
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2009-01-20 11:13:05 +0100
commit5c84a1032c13a75b95e40bd316495b3351b324e1 (patch)
tree8f14db6d8bd236b1ad13b38d906fea7fa9e67c58 /src
parentdbda49a9e65f684ca46c7af84cc52d63b0622978 (diff)
Fix store texel for argb8888_rev.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/texformat_tmp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/texformat_tmp.h b/src/mesa/main/texformat_tmp.h
index 197593df74..673b715950 100644
--- a/src/mesa/main/texformat_tmp.h
+++ b/src/mesa/main/texformat_tmp.h
@@ -694,7 +694,7 @@ static void store_texel_argb8888_rev(struct gl_texture_image *texImage,
{
const GLubyte *rgba = (const GLubyte *) texel;
GLuint *dst = TEXEL_ADDR(GLuint, texImage, i, j, k, 1);
- *dst = PACK_COLOR_8888(rgba[ACOMP], rgba[RCOMP], rgba[GCOMP], rgba[BCOMP]);
+ *dst = PACK_COLOR_8888(rgba[BCOMP], rgba[GCOMP], rgba[RCOMP], rgba[ACOMP]);
}
#endif