filename | src/pvr2/pvr2.h |
changeset | 649:620c5c6496b5 |
prev | 646:f9812647b818 |
next | 1066:ddffe9d2b332 |
author | nkeynes |
date | Sun Mar 16 04:49:19 2008 +0000 (16 years ago) |
branch | lxdream-render |
permissions | -rw-r--r-- |
last change | Use max-z rather than min-z for tri sort (still wrong for some cases of course, but consistent with prior behaviour) |
file | annotate | diff | log | raw |
1.1 --- a/src/pvr2/pvr2.h Sat Mar 08 04:20:48 2008 +00001.2 +++ b/src/pvr2/pvr2.h Sun Mar 16 04:49:19 2008 +00001.3 @@ -334,7 +334,7 @@1.5 /************************* Rendering support macros **************************/1.6 #define POLY1_DEPTH_MODE(poly1) ( pvr2_poly_depthmode[(poly1)>>29] )1.7 -#define POLY1_DEPTH_ENABLE(poly1) (((poly1)&0x04000000) == 0 )1.8 +#define POLY1_DEPTH_WRITE(poly1) (((poly1)&0x04000000) == 0 )1.9 #define POLY1_CULL_MODE(poly1) (((poly1)>>27)&0x03)1.10 #define POLY1_CULL_ENABLE(poly1) (((poly1)>>28)&0x01)1.11 #define POLY1_TEXTURED(poly1) (((poly1)&0x02000000))
.