Search
lxdream.org :: lxdream/src/pvr2/gl_sl.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/pvr2/gl_sl.c
changeset 679:f5ae66677a49
prev669:ab344e42bca9
next736:a02d1475ccfd
author nkeynes
date Sun Jun 01 00:37:27 2008 +0000 (14 years ago)
permissions -rw-r--r--
last change Fix shaders to be disabled until explicitly requested
file annotate diff log raw
1.1 --- a/src/pvr2/gl_sl.c Mon May 12 10:00:13 2008 +0000
1.2 +++ b/src/pvr2/gl_sl.c Sun Jun 01 00:37:27 2008 +0000
1.3 @@ -99,6 +99,7 @@
1.4 if( pok ) {
1.5 glUseProgramObjectARB(glsl_program);
1.6 pok = glsl_check_program_error( "Failed to apply shader program", glsl_program );
1.7 + glsl_enable_shaders(FALSE); // initially disabled
1.8 } else {
1.9 glsl_unload_shaders();
1.10 }
1.11 @@ -191,6 +192,8 @@
1.12
1.13 if( pok ) {
1.14 glUseProgram(glsl_program);
1.15 + pok = glsl_check_program_error( "Failed to apply shader program", glsl_program );
1.16 + glsl_enable_shaders(FALSE); // initially disabled
1.17 } else {
1.18 glsl_unload_shaders();
1.19 }
.