Search
lxdream.org :: lxdream/src/pvr2/rendsort.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/pvr2/rendsort.c
changeset 1298:d0eb2307b847
prev1154:5225c7c059ce
author nkeynes
date Wed Feb 04 08:38:23 2015 +1000 (5 years ago)
permissions -rw-r--r--
last change Fix assorted compile warnings reported by Clang
file annotate diff log raw
1.1 --- a/src/pvr2/rendsort.c Mon Jan 17 21:22:06 2011 +1000
1.2 +++ b/src/pvr2/rendsort.c Wed Feb 04 08:38:23 2015 +1000
1.3 @@ -171,7 +171,6 @@
1.4 {
1.5 int i;
1.6 for( i=0; i<num_triangles; i++ ) {
1.7 - struct polygon_struct *poly = triangles[i]->poly;
1.8 gl_render_triangle(triangles[i]->poly, triangles[i]->triangle_num);
1.9 }
1.10 }
1.11 @@ -190,7 +189,6 @@
1.12 tri2->bounds[3] <= tri1->bounds[2] )
1.13 return 0; /* tri1 and tri2 don't actually overlap at all */
1.14 else {
1.15 - struct vertex_struct *tri1v = &pvr2_scene.vertex_array[tri1->poly->vertex_index + tri1->triangle_num];
1.16 struct vertex_struct *tri2v = &pvr2_scene.vertex_array[tri2->poly->vertex_index + tri2->triangle_num];
1.17 float v[3];
1.18 int i;
.