diff options
Diffstat (limited to 'source/gameengine/Converter/BL_Shader.cpp')
-rw-r--r-- | source/gameengine/Converter/BL_Shader.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/gameengine/Converter/BL_Shader.cpp b/source/gameengine/Converter/BL_Shader.cpp index c957241b5e4..f97cc821d19 100644 --- a/source/gameengine/Converter/BL_Shader.cpp +++ b/source/gameengine/Converter/BL_Shader.cpp @@ -132,7 +132,10 @@ bool BL_Shader::LinkProgram() void BL_Shader::printInfo(unsigned int pr) { #ifdef GL_ARB_shader_objects - int length=0; +#ifndef GLcharARB +typedef char GLcharARB; +#endif +int length=0; glGetObjectParameterivARB(pr, GL_OBJECT_INFO_LOG_LENGTH_ARB, &length); if(length > 1) |