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 669:ab344e42bca9
prev656:031d23fa6d0b
next679:f5ae66677a49
author nkeynes
date Mon May 12 10:00:13 2008 +0000 (13 years ago)
permissions -rw-r--r--
last change Cleanup most of the -Wall warnings (getting a bit sloppy...)
Convert FP code to use fixed banks rather than indirect pointer
(3-4% faster this way now)
file annotate diff log raw
1.1 --- a/src/pvr2/gl_sl.c Wed Apr 02 01:46:58 2008 +0000
1.2 +++ b/src/pvr2/gl_sl.c Mon May 12 10:00:13 2008 +0000
1.3 @@ -18,8 +18,6 @@
1.4 * GNU General Public License for more details.
1.5 */
1.6
1.7 -#define GL_GLEXT_PROTOTYPES 1
1.8 -
1.9 #include "lxdream.h"
1.10 #include "display.h"
1.11 #include "pvr2/glutil.h"
1.12 @@ -107,7 +105,7 @@
1.13 return pok;
1.14 }
1.15
1.16 -void glsl_enable_shader(gboolean en)
1.17 +void glsl_enable_shaders(gboolean en)
1.18 {
1.19 if( glsl_program != 0 ) {
1.20 if( en ) {
1.21 @@ -200,7 +198,7 @@
1.22 }
1.23
1.24
1.25 -void glsl_enable_shader(gboolean en)
1.26 +void glsl_enable_shaders(gboolean en)
1.27 {
1.28 if( glsl_program != 0 ) {
1.29 if( en ) {
1.30 @@ -231,4 +229,7 @@
1.31 {
1.32 }
1.33
1.34 +void glsl_enable_shaders( gboolean enable )
1.35 +{
1.36 +}
1.37 #endif
.