filename | src/pvr2/texcache.c |
changeset | 1256:a9d29fe74bf3 |
prev | 1236:d93175c36387 |
next | 1275:83b15705cdde |
author | nkeynes |
date | Mon Mar 05 11:41:03 2012 +1000 (12 years ago) |
permissions | -rw-r--r-- |
last change | Small cleanups: Refactor the post-windowing setup into gl_init_driver() in video_gl.c Move gl_sl.c into src/drivers and tidy up a bit. Fix OS X compiling plugins with -mdynamic-no-pic |
file | annotate | diff | log | raw |
1.1 --- a/src/pvr2/texcache.c Fri Feb 24 21:17:47 2012 +10001.2 +++ b/src/pvr2/texcache.c Mon Mar 05 11:41:03 2012 +10001.3 @@ -89,12 +89,12 @@1.4 * Setup the initial texture ids (must be called after the GL context is1.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.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 );
.