Browse Source

fixed typo in CONVERT_TEXEL_DWORD for convert_abgr8888_to_ai88 textures (Michael Fitzpatrick)

tags/mesa_4_0_2
Brian Paul 23 years ago
parent
commit
e6c59e8d0c
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/mesa/main/texutil.c

+ 2
- 2
src/mesa/main/texutil.c View File

@@ -1,4 +1,4 @@
/* $Id: texutil.c,v 1.25.2.1 2002/02/21 15:11:15 brianp Exp $ */
/* $Id: texutil.c,v 1.25.2.2 2002/03/15 17:57:42 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


Loading…
Cancel
Save