aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texutil.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2002-03-15 18:05:49 +0000
committerBrian Paul <[email protected]>2002-03-15 18:05:49 +0000
commit8843d52af1c139d78b9f831dfc117a8390a51fda (patch)
tree5f773870ecb81a6bbed0081405ad7a250f8e1b5b /src/mesa/main/texutil.c
parent612fc012934d9ec61972c3cfd914923937339611 (diff)
fixed typo in CONVERT_TEXEL_DWORD for convert_abgr8888_to_ai88 textures (Michael Fitzpatrick)
Diffstat (limited to 'src/mesa/main/texutil.c')
-rw-r--r--src/mesa/main/texutil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/texutil.c b/src/mesa/main/texutil.c
index 0ac927797d6..8a7483128cc 100644
--- a/src/mesa/main/texutil.c
+++ b/src/mesa/main/texutil.c
@@ -1,4 +1,4 @@
-/* $Id: texutil.c,v 1.26 2002/02/21 15:12:31 brianp Exp $ */
+/* $Id: texutil.c,v 1.27 2002/03/15 18:05:49 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -527,7 +527,7 @@ CONVERT_ARGB1555( texsubimage3d )
#define CONVERT_TEXEL_DWORD( dst, src ) \
dst = ((PACK_COLOR_88( src[3], src[0] )) | \
- (PACK_COLOR_88( src[7], src[1] ) << 16))
+ (PACK_COLOR_88( src[7], src[4] ) << 16))
#define SRC_TEXEL_BYTES 4