Search
lxdream.org :: lxdream/src/pvr2/texcache.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/pvr2/texcache.c
changeset 352:f0df7a6d4703
prev349:05c9b25c361d
next429:e581b90c3fb3
author nkeynes
date Sun Feb 11 10:09:32 2007 +0000 (14 years ago)
permissions -rw-r--r--
last change Bug 27: Implement opengl framebuffer objects
Rewrite much of the final video output stage. Now uses generic "render
buffers", implemented on GL using framebuffer objects + textures.
file annotate diff log raw
1.1 --- a/src/pvr2/texcache.c Mon Feb 05 08:52:59 2007 +0000
1.2 +++ b/src/pvr2/texcache.c Sun Feb 11 10:09:32 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: texcache.c,v 1.25 2007-02-05 08:52:59 nkeynes Exp $
1.6 + * $Id: texcache.c,v 1.26 2007-02-11 10:09:32 nkeynes Exp $
1.7 *
1.8 * Texture cache. Responsible for maintaining a working set of OpenGL
1.9 * textures.
1.10 @@ -326,6 +326,7 @@
1.11 struct vq_codebook codebook;
1.12 GLint filter = GL_LINEAR;
1.13
1.14 + glPixelStorei( GL_UNPACK_ROW_LENGTH, 0 );
1.15 /* Decode the format parameters */
1.16 switch( tex_format ) {
1.17 case PVR2_TEX_FORMAT_IDX4:
.