revision 348:15b2de02558d
summary |
tree |
shortlog |
changelog |
graph |
changeset |
raw | bz2 | zip | gz changeset | 348:15b2de02558d |
parent | 347:e686be8b10df |
child | 349:05c9b25c361d |
author | nkeynes |
date | Mon Feb 05 08:51:34 2007 +0000 (17 years ago) |
Mipmapped flag is only valid for twiddled textures
src/pvr2/pvr2.h | view | annotate | diff | log |
1.1 --- a/src/pvr2/pvr2.h Sun Feb 04 11:30:41 2007 +00001.2 +++ b/src/pvr2/pvr2.h Mon Feb 05 08:51:34 2007 +00001.3 @@ -1,5 +1,5 @@1.4 /**1.5 - * $Id: pvr2.h,v 1.33 2007-01-29 11:24:44 nkeynes Exp $1.6 + * $Id: pvr2.h,v 1.34 2007-02-05 08:51:34 nkeynes Exp $1.7 *1.8 * PVR2 (video chip) functions and macros.1.9 *1.10 @@ -107,7 +107,7 @@1.13 #define PVR2_TEX_ADDR(x) ( ((x)&0x01FFFFF)<<3 );1.14 -#define PVR2_TEX_IS_MIPMAPPED(x) ( (x) & PVR2_TEX_MIPMAP )1.15 +#define PVR2_TEX_IS_MIPMAPPED(x) ( ((x) & 0x84000000) == 0x80000000 )1.16 #define PVR2_TEX_IS_COMPRESSED(x) ( (x) & PVR2_TEX_COMPRESSED )1.17 #define PVR2_TEX_IS_TWIDDLED(x) (((x) & PVR2_TEX_UNTWIDDLED) == 0)1.18 #define PVR2_TEX_IS_STRIDE(x) (((x) & 0x06000000) == 0x06000000)
.