Disabled DEBUG_SHADER_VALIDATION as glValidateProgramARB is apparently broken on my laptop.

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3344 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
Jens Ayton 2010-05-14 17:07:38 +00:00
parent ecfe76cce2
commit c6dad938fe

View File

@ -219,7 +219,7 @@ static BOOL ValidateShaderObject(GLhandleARB object, NSString *name)
}
#ifndef NDEBUG
if (gDebugFlags & DEBUG_SHADER_VALIDATION)
if (gDebugFlags & DEBUG_SHADER_VALIDATION && 0)
{
OOGL(glValidateProgramARB(object));
OOGL(glGetObjectParameterivARB(object, GL_OBJECT_VALIDATE_STATUS_ARB, &status));