Try to fix clang compilation. Cannot really test it but hopefully will help

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14426 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2013-11-13 23:55:29 +00:00
parent e71d3e0288
commit ccefd0a3da

View File

@ -2387,7 +2387,11 @@ inline void COpenGLExtensionHandler::extGlProgramParameteri(GLhandleARB program,
#elif defined(GL_ARB_geometry_shader4)
glProgramParameteriARB(program, pname, value);
#elif defined(GL_EXT_geometry_shader4)
#ifdef __clang__
glProgramParameteriEXT((long)program, pname, value);
#else
glProgramParameteriEXT((long GLuint)program, pname, value);
#endif
#elif defined(GL_NV_geometry_program4) || defined(GL_NV_geometry_shader4)
glProgramParameteriNV(program, pname, value);
#else