fixed typo in CONVERT_TEXEL_DWORD for convert_abgr8888_to_ai88 textures (Michael...
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 15 Mar 2002 18:05:49 +0000 (18:05 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 15 Mar 2002 18:05:49 +0000 (18:05 +0000)
src/mesa/main/texutil.c

index 0ac927797d6a8213dfd0bf826f29687be021ed1a..8a7483128cc0df1f9413c1d5e3d00289b18ed1ae 100644 (file)
@@ -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