Search
lxdream.org :: lxdream/src/pvr2/texcache.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/pvr2/texcache.c
changeset 191:df4441cf3128
prev129:88e5ebc991e3
next224:289ddaeeebb3
author nkeynes
date Wed Aug 02 06:24:08 2006 +0000 (13 years ago)
permissions -rw-r--r--
last change Add more register masks (in line with test case)
Rename renderer registers for consistency
file annotate diff log raw
1.1 --- a/src/pvr2/texcache.c Thu Mar 30 11:25:42 2006 +0000
1.2 +++ b/src/pvr2/texcache.c Wed Aug 02 06:24:08 2006 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: texcache.c,v 1.6 2006-03-30 11:25:42 nkeynes Exp $
1.6 + * $Id: texcache.c,v 1.7 2006-08-02 06:24:08 nkeynes Exp $
1.7 *
1.8 * Texture cache. Responsible for maintaining a working set of OpenGL
1.9 * textures.
1.10 @@ -235,7 +235,7 @@
1.11
1.12 if( tex_format == PVR2_TEX_FORMAT_IDX8 ||
1.13 tex_format == PVR2_TEX_FORMAT_IDX4 ) {
1.14 - switch( MMIO_READ( PVR2, PALETTECFG ) & 0x03 ) {
1.15 + switch( MMIO_READ( PVR2, RENDER_PALETTE ) & 0x03 ) {
1.16 case 0: /* ARGB1555 */
1.17 intFormat = GL_RGB5_A1;
1.18 format = GL_RGBA;
.