Search
lxdream.org :: lxdream/src/pvr2/texcache.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/pvr2/texcache.c
changeset 477:9a373f2ff009
prev462:9add12452876
next561:533f6b478071
author nkeynes
date Wed Oct 31 09:10:23 2007 +0000 (14 years ago)
permissions -rw-r--r--
last change Add save/restore of render buffers in save states
Gzip memory blocks in save states
Move front-buffer management back to pvr2
Add screenshot preview when loading save states
Various minor fixes and cleanups
file annotate diff log raw
1.1 --- a/src/pvr2/texcache.c Wed Oct 24 21:23:22 2007 +0000
1.2 +++ b/src/pvr2/texcache.c Wed Oct 31 09:10:23 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: texcache.c,v 1.28 2007-10-24 21:23:22 nkeynes Exp $
1.6 + * $Id: texcache.c,v 1.29 2007-10-31 09:10:23 nkeynes Exp $
1.7 *
1.8 * Texture cache. Responsible for maintaining a working set of OpenGL
1.9 * textures.
1.10 @@ -354,7 +354,7 @@
1.11 break;
1.12 case 3: /* ARGB8888 */
1.13 format = GL_BGRA;
1.14 - type = GL_UNSIGNED_INT_8_8_8_8_REV;
1.15 + type = GL_UNSIGNED_BYTE;
1.16 bpp_shift = 2;
1.17 break;
1.18 default:
1.19 @@ -381,7 +381,7 @@
1.20 */
1.21 bpp_shift = 2;
1.22 format = GL_BGRA;
1.23 - type = GL_UNSIGNED_INT_8_8_8_8_REV;
1.24 + type = GL_UNSIGNED_BYTE;
1.25 break;
1.26 case PVR2_TEX_FORMAT_BUMPMAP:
1.27 ERROR( "Bumpmap not supported" );
.