Search
lxdream.org :: lxdream/src/pvr2/rendbkg.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/pvr2/rendbkg.c
changeset 331:a6048d3a9a79
prev239:e5cd6b2d4586
next339:95b084ec9cb3
author nkeynes
date Sun Jan 28 11:36:00 2007 +0000 (17 years ago)
permissions -rw-r--r--
last change Invalidate palette textures when the palette changes (fixes a few texture
bugs)
Fix odd/even selection in pvr2_display_frame
file annotate diff log raw
1.1 --- a/src/pvr2/rendbkg.c Fri Dec 15 10:17:30 2006 +0000
1.2 +++ b/src/pvr2/rendbkg.c Sun Jan 28 11:36:00 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: rendbkg.c,v 1.4 2006-12-15 10:17:30 nkeynes Exp $
1.6 + * $Id: rendbkg.c,v 1.5 2007-01-26 01:37:39 nkeynes Exp $
1.7 *
1.8 * PVR2 background renderer.
1.9 *
1.10 @@ -163,7 +163,7 @@
1.11 float *vertexf = (float *)vertexes;
1.12 result[i].x = vertexf[0];
1.13 result[i].y = vertexf[1];
1.14 - result[i].z = vertexf[2];
1.15 + result[i].z = 1/vertexf[2];
1.16 uint32_t argb;
1.17 if( POLY1_TEXTURED(*polygon) ) {
1.18 if( POLY1_UV16(*polygon) ) {
.