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 1009:c29795e15cef
prev736:a02d1475ccfd
next1130:5f56fc931112
author nkeynes
date Sun Apr 12 00:04:15 2009 +0000 (13 years ago)
permissions -rw-r--r--
last change 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...
file annotate diff log raw
1.1 --- a/src/pvr2/gl_sl.c Mon Jul 14 07:44:42 2008 +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 )
.