Search
lxdream.org :: lxdream/src/pvr2/rendcore.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/pvr2/rendcore.c
changeset 286:0fa5aae66f31
prev268:1ba7e5a7a3f7
next298:44d94dd0e8aa
author nkeynes
date Mon Jan 15 10:11:13 2007 +0000 (13 years ago)
permissions -rw-r--r--
last change Cut texture address down to 8Mb to prevent issues in texcache
file annotate diff log raw
1.1 --- a/src/pvr2/rendcore.c Wed Jan 10 08:38:02 2007 +0000
1.2 +++ b/src/pvr2/rendcore.c Mon Jan 15 10:11:13 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: rendcore.c,v 1.7 2007-01-10 08:38:02 nkeynes Exp $
1.6 + * $Id: rendcore.c,v 1.8 2007-01-15 10:11:13 nkeynes Exp $
1.7 *
1.8 * PVR2 renderer core.
1.9 *
1.10 @@ -122,7 +122,7 @@
1.11 int width = POLY2_TEX_WIDTH(poly2);
1.12 int height = POLY2_TEX_HEIGHT(poly2);
1.13 glEnable(GL_TEXTURE_2D);
1.14 - texcache_get_texture( (texture&0x001FFFFF)<<3, width, height, texture );
1.15 + texcache_get_texture( (texture&0x000FFFFF)<<3, width, height, texture );
1.16 glTexEnvi( GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, POLY2_TEX_BLEND(poly2) );
1.17 } else {
1.18 glDisable( GL_TEXTURE_2D );
.