revision 351:41b7e55ee10f
summary |
tree |
shortlog |
changelog |
graph |
changeset |
raw | bz2 | zip | gz changeset | 351:41b7e55ee10f |
parent | 350:5852da948231 |
child | 352:f0df7a6d4703 |
author | nkeynes |
date | Tue Feb 06 07:59:06 2007 +0000 (17 years ago) |
Fix debug output of polygons with modifier volume
1.1 --- a/src/pvr2/rendcore.c Tue Feb 06 07:57:57 2007 +00001.2 +++ b/src/pvr2/rendcore.c Tue Feb 06 07:59:06 2007 +00001.3 @@ -1,5 +1,5 @@1.4 /**1.5 - * $Id: rendcore.c,v 1.17 2007-02-06 07:57:57 nkeynes Exp $1.6 + * $Id: rendcore.c,v 1.18 2007-02-06 07:59:06 nkeynes Exp $1.7 *1.8 * PVR2 renderer core.1.9 *1.10 @@ -567,7 +567,7 @@1.11 int is_modified = entry & 0x01000000;1.12 int vertex_length = (entry >> 21) & 0x07;1.13 int context_length = 3;1.14 - if( (entry & 0x01000000) && shadow_cfg ) {1.15 + if( (entry & 0x01000000) && (shadow_cfg==0) ) {1.16 context_length = 5;1.17 vertex_length *= 2 ;1.18 }1.19 @@ -722,7 +722,7 @@1.20 int is_modified = entry & 0x01000000;1.21 int vertex_length = (entry >> 21) & 0x07;1.22 int context_length = 3;1.23 - if( (entry & 0x01000000) && shadow_cfg ) {1.24 + if( (entry & 0x01000000) && (shadow_cfg==0) ) {1.25 context_length = 5;1.26 vertex_length *= 2 ;1.27 }
.