1.1 --- a/src/pvr2/rendcore.c Tue Sep 12 12:16:36 2006 +0000
1.2 +++ b/src/pvr2/rendcore.c Wed Jan 10 08:38:02 2007 +0000
1.5 - * $Id: rendcore.c,v 1.6 2006-09-12 12:16:36 nkeynes Exp $
1.6 + * $Id: rendcore.c,v 1.7 2007-01-10 08:38:02 nkeynes Exp $
1.8 * PVR2 renderer core.
1.11 struct timeval tv_start, tv_end;
1.12 gettimeofday(&tv_start, NULL);
1.13 glEnable( GL_SCISSOR_TEST );
1.14 - while( (segment->control & SEGMENT_END) == 0 ) {
1.16 // fwrite_dump32v( (uint32_t *)segment, sizeof(struct tile_segment), 6, stderr );
1.17 int tilex = SEGMENT_X(segment->control);
1.18 int tiley = SEGMENT_Y(segment->control);
1.22 /* Tile completely clipped, skip */
1.28 if( (segment->punchout_ptr & NO_POINTER) == 0 ) {
1.29 render_tile( segment->punchout_ptr, RENDER_NORMAL, cheap_shadow );
1.34 + } while( ((segment++)->control & SEGMENT_END) == 0 );
1.35 glDisable( GL_SCISSOR_TEST );
1.37 gettimeofday(&tv_end, NULL);