Search
lxdream.org :: lxdream/src/pvr2/glrender.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/pvr2/glrender.c
changeset 1256:a9d29fe74bf3
prev1251:b8ab59d39756
next1257:e1314ad3e7cc
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/glrender.c Sat Mar 03 16:11:28 2012 +1000
1.2 +++ b/src/pvr2/glrender.c Sun Mar 04 21:10:12 2012 +1000
1.3 @@ -115,21 +115,10 @@
1.4 */
1.5 void pvr2_setup_gl_context()
1.6 {
1.7 - if( glsl_is_supported() && isGLMultitextureSupported() ) {
1.8 - if( !glsl_load_shaders( ) ) {
1.9 - WARN( "Unable to load GL shaders" );
1.10 - } else {
1.11 - INFO( "Shaders loaded successfully" );
1.12 - have_shaders = TRUE;
1.13 - }
1.14 - } else {
1.15 - INFO( "Shaders not supported" );
1.16 - }
1.17 -
1.18 #ifdef APPLE_BUILD
1.19 CGL_MACRO_CONTEXT = CGLGetCurrentContext();
1.20 #endif
1.21 - texcache_gl_init(have_shaders); // Allocate texture IDs
1.22 + texcache_gl_init(); // Allocate texture IDs
1.23
1.24 /* Global settings */
1.25 glDisable( GL_CULL_FACE );
.