Closed hanetzer closed 9 years ago
diff --git a/src/gl-fun.h b/src/gl-fun.h
index 42cd4d7..947a8e4 100644
--- a/src/gl-fun.h
+++ b/src/gl-fun.h
@@ -69,7 +69,7 @@ typedef void (APIENTRYP PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr offset,
/* Shader */
typedef GLuint (APIENTRYP PFNGLCREATESHADERPROC) (GLenum type);
typedef void (APIENTRYP PFNGLDELETESHADERPROC) (GLuint shader);
-typedef void (APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar* const* strings, const GLint* lengths);
+typedef void (APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar* *strings, const GLint* length);
typedef void (APIENTRYP PFNGLCOMPILESHADERPROC) (GLuint shader);
typedef void (APIENTRYP PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader);
typedef void (APIENTRYP PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint* param);
removing a bit 'fixed' the issue, not sure if others would arise from this.
Fixed: 276160f0d5048c372efbba919cf355dcab992167
Small issue I ran into; I temporarily commented out the offending lines while working on #79 to get a working build chain but I believe I should mention it here. Occurs whether using my home-made autotools chain, cmake, or qmake, so the issue is outside of the build process. Maybe there is some bad config on my system.