Search
lxdream.org :: lxdream/src/pvr2/texcache.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/pvr2/texcache.c
changeset 1256:a9d29fe74bf3
prev1236:d93175c36387
next1275:83b15705cdde
author nkeynes
date Sun Mar 04 21:10:12 2012 +1000 (8 years ago)
permissions -rw-r--r--
last change Move glsl loading into common gl code, and set a display capability flag
file annotate diff log raw
1.1 --- a/src/pvr2/texcache.c Fri Feb 24 21:17:47 2012 +1000
1.2 +++ b/src/pvr2/texcache.c Sun Mar 04 21:10:12 2012 +1000
1.3 @@ -89,12 +89,12 @@
1.4 * Setup the initial texture ids (must be called after the GL context is
1.5 * prepared)
1.6 */
1.7 -void texcache_gl_init( gboolean withShaders )
1.8 +void texcache_gl_init( )
1.9 {
1.10 int i;
1.11 GLuint texids[MAX_TEXTURES];
1.12
1.13 - if( withShaders ) {
1.14 + if( display_driver->capabilities.has_sl ) {
1.15 texcache_have_palette_shader = TRUE;
1.16 texcache_palette_valid = FALSE;
1.17 glGenTextures(1, &texcache_palette_texid );
.