1.1 --- a/src/pvr2/texcache.c Thu Jan 25 10:12:54 2007 +0000
1.2 +++ b/src/pvr2/texcache.c Thu Jan 25 12:55:31 2007 +0000
1.5 - * $Id: texcache.c,v 1.21 2007-01-25 10:12:54 nkeynes Exp $
1.6 + * $Id: texcache.c,v 1.22 2007-01-25 12:55:31 nkeynes Exp $
1.8 * Texture cache. Responsible for maintaining a working set of OpenGL
1.11 if( level == last_level && level != 0 ) { /* 1x1 stored within a 2x2 */
1.12 glTexImage2D( GL_TEXTURE_2D, level, intFormat, 1, 1, 0, format, type,
1.13 data + (3 << bpp_shift) );
1.14 + texture_addr += mip_bytes;
1.16 glTexImage2D( GL_TEXTURE_2D, level, intFormat, mip_width, mip_height, 0, format, type,