Renderer/UberShaderPreprocessor: Fix compile error
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user