revision 1009:c29795e15cef
summary |
tree |
shortlog |
changelog |
graph |
changeset |
raw | bz2 | zip | gz changeset | 1009:c29795e15cef |
parent | 1008:4c8211637afc |
child | 1010:a506a2f66180 |
author | nkeynes |
date | Sun Apr 12 00:04:15 2009 +0000 (15 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...
header file define - more reliable on systems where the headers
don't match the libraries...
src/pvr2/gl_sl.c | view | annotate | diff | log |
1.1 --- a/src/pvr2/gl_sl.c Sat Apr 11 03:28:01 2009 +00001.2 +++ b/src/pvr2/gl_sl.c Sun Apr 12 00:04:15 2009 +00001.3 @@ -31,7 +31,7 @@1.4 isGLExtensionSupported("GL_ARB_shading_language_100");1.5 }1.7 -#ifdef GL_ARB_shader_objects1.8 +#ifdef HAVE_OPENGL_SHADER_ARB1.9 static GLhandleARB glsl_program = 0, glsl_vert_shader = 0, glsl_frag_shader = 0;1.11 void glsl_print_error( char *msg, GLhandleARB obj )
.