1.1 --- a/src/pvr2/texcache.c Mon Feb 13 22:16:43 2012 +1000
1.2 +++ b/src/pvr2/texcache.c Thu Feb 23 22:40:50 2012 +1000
1.4 * Setup the initial texture ids (must be called after the GL context is
1.7 -void texcache_gl_init( )
1.8 +void texcache_gl_init( gboolean withShaders )
1.11 GLuint texids[MAX_TEXTURES];
1.13 - if( glsl_is_supported() && isGLMultitextureSupported() ) {
1.14 + if( withShaders ) {
1.15 texcache_have_palette_shader = TRUE;
1.16 texcache_palette_valid = FALSE;
1.17 glGenTextures(1, &texcache_palette_texid );