Search
lxdream.org :: lxdream :: r1203:d8519911fb40
lxdream 0.9.1
released Jun 29
Download Now
changeset1203:d8519911fb40
parent1202:01ae5cbad4c8
child1204:c4b725d901b1
authornkeynes
dateThu Jan 26 20:16:51 2012 +1000 (7 years ago)
Fix SL function signatures
src/pvr2/gl_sl.c
1.1 --- a/src/pvr2/gl_sl.c Fri Dec 23 08:20:17 2011 +1000
1.2 +++ b/src/pvr2/gl_sl.c Thu Jan 26 20:16:51 2012 +1000
1.3 @@ -209,7 +209,7 @@
1.4
1.5 glShaderSource( shader, 1, &source, NULL );
1.6 glCompileShader(shader);
1.7 - ok = glsl_check_shader_error( "Failed to compile vertex shader", glsl_vert_shader );
1.8 + ok = glsl_check_shader_error( "Failed to compile vertex shader", shader );
1.9 if( !ok ) {
1.10 glDeleteShader(shader);
1.11 return INVALID_SHADER;
1.12 @@ -226,7 +226,7 @@
1.13
1.14 glShaderSource( shader, 1, &source, NULL );
1.15 glCompileShader(shader);
1.16 - ok = glsl_check_shader_error( "Failed to compile fragment shader", glsl_frag_shader );
1.17 + ok = glsl_check_shader_error( "Failed to compile fragment shader", shader );
1.18 if( !ok ) {
1.19 glDeleteShader(shader);
1.20 return INVALID_SHADER;
1.21 @@ -284,7 +284,7 @@
1.22 return FALSE;
1.23 }
1.24
1.25 -int glsl_get_version()
1.26 +const char *glsl_get_version()
1.27 {
1.28 return 0;
1.29 }
1.30 @@ -299,7 +299,7 @@
1.31 return 0;
1.32 }
1.33
1.34 -gl_program_t glsl_create_program( gl_shader_t vertex, gl_shader_t fragment )
1.35 +gl_program_t glsl_create_program( gl_shader_t *shaderv )
1.36 {
1.37 return 0;
1.38 }
.