Search
lxdream.org :: lxdream/src/pvr2/render.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/pvr2/render.c
changeset 113:ce4eb7959d56
prev108:565de331ccec
next118:fcec54454d10
author nkeynes
date Thu Mar 16 12:42:39 2006 +0000 (14 years ago)
permissions -rw-r--r--
last change Various fixes to make tatest work
file annotate diff log raw
1.1 --- a/src/pvr2/render.c Wed Mar 15 13:16:50 2006 +0000
1.2 +++ b/src/pvr2/render.c Thu Mar 16 12:42:39 2006 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: render.c,v 1.3 2006-03-15 13:16:50 nkeynes Exp $
1.6 + * $Id: render.c,v 1.4 2006-03-16 12:42:39 nkeynes Exp $
1.7 *
1.8 * PVR2 Renderer support. This is where the real work happens.
1.9 *
1.10 @@ -272,7 +272,6 @@
1.11 glBegin( GL_TRIANGLES );
1.12 else
1.13 glBegin( GL_TRIANGLE_STRIP );
1.14 - fprintf( stderr, "Begin %d\n", expect_vertexes );
1.15 break;
1.16 case PVR2_CMD_VERTEX_LAST:
1.17 case PVR2_CMD_VERTEX:
1.18 @@ -282,17 +281,13 @@
1.19 }
1.20 expect_vertexes--;
1.21 struct pvr2_vertex_basic *vertex = (struct pvr2_vertex_basic *)cmd_ptr;
1.22 - fprintf( stderr, "(%f,%f,%f)", vertex->x, vertex->y, vertex->z );
1.23 if( textured ) {
1.24 - fprintf( stderr, "{%f,%f}", vertex->s, vertex->t );
1.25 glTexCoord2f( vertex->s, vertex->t );
1.26 }
1.27 - fprintf( stderr, "\n" );
1.28 glVertex3f( vertex->x, vertex->y, vertex->z );
1.29
1.30 if( expect_vertexes == 0 ) {
1.31 glEnd();
1.32 - fprintf( stderr, "End" );
1.33 }
1.34 break;
1.35 }
.