Added: Detailed error for GL_FRAGMENT_PROGRAM_ARB

This commit is contained in:
kervala 2010-09-27 14:37:42 +02:00
parent a85e93a2ef
commit 629d273ecf

View file

@ -1811,7 +1811,7 @@ uint loadARBFragmentProgramStringNative(const char *prog, bool forceNativeProgra
}
else
{
nlwarning("init fragment program failed: errorPos: %d isNative: %d", errorPos, isNative);
nlwarning("init fragment program failed: errorPos: %d isNative: %d: %s", errorPos, isNative, (const char*)glGetString(GL_PROGRAM_ERROR_STRING_ARB));
}
return 0;
}