Renderer/UberShaderPreprocessor: Fix compile error
This commit is contained in:
parent
459c5e7a09
commit
b64aa72626
|
|
@ -95,7 +95,7 @@ namespace Nz
|
||||||
{
|
{
|
||||||
ErrorFlags errFlags(ErrorFlag_ThrowExceptionDisabled);
|
ErrorFlags errFlags(ErrorFlag_ThrowExceptionDisabled);
|
||||||
|
|
||||||
NazaraError("Shader code failed to compile:\n" + code);
|
NazaraError("Shader code failed to compile (" + stage.GetLog() + ")\n" + code.ToString());
|
||||||
throw;
|
throw;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue