From: <au...@us...> - 2013-11-13 23:55:32
|
Revision: 14426 http://sourceforge.net/p/supertuxkart/code/14426 Author: auria Date: 2013-11-13 23:55:29 +0000 (Wed, 13 Nov 2013) Log Message: ----------- Try to fix clang compilation. Cannot really test it but hopefully will help Modified Paths: -------------- main/trunk/lib/irrlicht/source/Irrlicht/COpenGLExtensionHandler.h Modified: main/trunk/lib/irrlicht/source/Irrlicht/COpenGLExtensionHandler.h =================================================================== --- main/trunk/lib/irrlicht/source/Irrlicht/COpenGLExtensionHandler.h 2013-11-13 23:53:14 UTC (rev 14425) +++ main/trunk/lib/irrlicht/source/Irrlicht/COpenGLExtensionHandler.h 2013-11-13 23:55:29 UTC (rev 14426) @@ -2387,7 +2387,11 @@ #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 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |