Search
lxdream.org :: lxdream/src/pvr2/rendbkg.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/pvr2/rendbkg.c
changeset 429:e581b90c3fb3
prev339:95b084ec9cb3
next540:a3767018a96d
author nkeynes
date Mon Oct 08 11:52:13 2007 +0000 (13 years ago)
permissions -rw-r--r--
last change Fix compilation warnings
file annotate diff log raw
1.1 --- a/src/pvr2/rendbkg.c Mon Jan 29 11:25:40 2007 +0000
1.2 +++ b/src/pvr2/rendbkg.c Mon Oct 08 11:52:13 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: rendbkg.c,v 1.6 2007-01-29 11:25:40 nkeynes Exp $
1.6 + * $Id: rendbkg.c,v 1.7 2007-10-08 11:52:13 nkeynes Exp $
1.7 *
1.8 * PVR2 background renderer.
1.9 *
1.10 @@ -427,6 +427,8 @@
1.11 center.x = base[1].x;
1.12 center.y = base[1].y;
1.13 center.z = (1/base[1].z);
1.14 + center.u = base[1].u;
1.15 + center.v = base[1].v;
1.16 diff0.x = base[0].x - center.x;
1.17 diff0.y = base[0].y - center.y;
1.18 diff0.z = (1/base[0].z) - center.z;
1.19 @@ -586,7 +588,6 @@
1.20 struct vertex_unpacked vertex[3];
1.21 int screen_vertexes[4] = {0,1,2,3};
1.22 struct bkg_scene scene;
1.23 - int i,j,k, num_vertexes;
1.24 int vertex_length = (mode >> 24) & 0x07;
1.25 int cheap_shadow = MMIO_READ( PVR2, RENDER_SHADOW ) & 0x100;
1.26 int is_modified = mode & 0x08000000;
.