Added: Detailed error for GL_FRAGMENT_PROGRAM_ARB
This commit is contained in:
parent
a85e93a2ef
commit
629d273ecf
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue