Added: Detailed error for GL_FRAGMENT_PROGRAM_ARB
This commit is contained in:
parent
13f3a96c60
commit
1677874af2
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