Search
lxdream.org :: lxdream :: r1009:c29795e15cef
lxdream 0.9.1
released Jun 29
Download Now
changeset1009:c29795e15cef
parent1008:4c8211637afc
child1010:a506a2f66180
authornkeynes
dateSun Apr 12 00:04:15 2009 +0000 (11 years ago)
Use the configure result for glsl ARB functions rather than the
header file define - more reliable on systems where the headers
don't match the libraries...
src/pvr2/gl_sl.c
1.1 --- a/src/pvr2/gl_sl.c Sat Apr 11 03:28:01 2009 +0000
1.2 +++ b/src/pvr2/gl_sl.c Sun Apr 12 00:04:15 2009 +0000
1.3 @@ -31,7 +31,7 @@
1.4 isGLExtensionSupported("GL_ARB_shading_language_100");
1.5 }
1.6
1.7 -#ifdef GL_ARB_shader_objects
1.8 +#ifdef HAVE_OPENGL_SHADER_ARB
1.9 static GLhandleARB glsl_program = 0, glsl_vert_shader = 0, glsl_frag_shader = 0;
1.10
1.11 void glsl_print_error( char *msg, GLhandleARB obj )
.