mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-29 12:20:53 +00:00
Added: Detailed error for GL_FRAGMENT_PROGRAM_ARB
This commit is contained in:
parent
32744ced2f
commit
637058962c
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