Search
lxdream.org :: lxdream/src/pvr2/pvr2.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/pvr2/pvr2.h
changeset 655:31a4b664d489
prev653:3202ff01d48e
next669:ab344e42bca9
author nkeynes
date Tue Apr 01 08:03:56 2008 +0000 (12 years ago)
permissions -rw-r--r--
last change Add support for mirrored textures
file annotate diff log raw
1.1 --- a/src/pvr2/pvr2.h Fri Mar 28 12:32:25 2008 +0000
1.2 +++ b/src/pvr2/pvr2.h Tue Apr 01 08:03:56 2008 +0000
1.3 @@ -352,6 +352,8 @@
1.4 #define POLY2_COLOUR_CLAMP_ENABLE(poly2) ((poly2)&0x00200000)
1.5 #define POLY2_ALPHA_ENABLE(poly2) ((poly2)&0x00100000)
1.6 #define POLY2_TEX_ALPHA_ENABLE(poly2) (((poly2)&0x00080000) == 0 )
1.7 +#define POLY2_TEX_MIRROR_U(poly2) ((poly2)&0x00040000)
1.8 +#define POLY2_TEX_MIRROR_V(poly2) ((poly2)&0x00020000)
1.9 #define POLY2_TEX_CLAMP_U(poly2) ((poly2)&0x00010000)
1.10 #define POLY2_TEX_CLAMP_V(poly2) ((poly2)&0x00008000)
1.11 #define POLY2_TEX_WIDTH(poly2) ( 1<< ((((poly2) >> 3) & 0x07 ) + 3) )
.