From 10f8f40ffcfcc9697f0c7e3ff9c99991e262551d Mon Sep 17 00:00:00 2001 From: yabause Date: Sun, 7 Dec 2008 15:53:35 +0000 Subject: [PATCH] Fixed compilation for linux and windows --- desmume/src/OGLRender.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desmume/src/OGLRender.cpp b/desmume/src/OGLRender.cpp index d4f5a3ef4..e6adfec2e 100644 --- a/desmume/src/OGLRender.cpp +++ b/desmume/src/OGLRender.cpp @@ -119,7 +119,7 @@ static bool isTranslucent; #ifndef DESMUME_COCOA OGLEXT(PFNGLCREATESHADERPROC,glCreateShader) //zero: i dont understand this at all. my glext.h has the wrong thing declared here... so I have to do it myself -typedef void (APIENTRYP X_PFNGLGETSHADERSOURCEPROC) (GLuint shader, GLsizei bufSize, GLchar **source, GLsizei *length); +typedef void (APIENTRYP X_PFNGLGETSHADERSOURCEPROC) (GLuint shader, GLsizei bufSize, const GLchar **source, GLsizei *length); OGLEXT(X_PFNGLGETSHADERSOURCEPROC,glShaderSource) OGLEXT(PFNGLCOMPILESHADERPROC,glCompileShader) OGLEXT(PFNGLCREATEPROGRAMPROC,glCreateProgram)