Search
lxdream.org :: lxdream :: r286:0fa5aae66f31
lxdream 0.9.1
released Jun 29
Download Now
changeset286:0fa5aae66f31
parent285:4fefedafebc6
child287:fead4f5f3e2c
authornkeynes
dateMon Jan 15 10:11:13 2007 +0000 (13 years ago)
Cut texture address down to 8Mb to prevent issues in texcache
src/pvr2/rendcore.c
1.1 --- a/src/pvr2/rendcore.c Mon Jan 15 10:10:51 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 );
.