diff options
Diffstat (limited to 'tools/render-test')
| -rw-r--r-- | tools/render-test/slang-support.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/render-test/slang-support.cpp b/tools/render-test/slang-support.cpp index 5b2d69bf4..54f1b94a1 100644 --- a/tools/render-test/slang-support.cpp +++ b/tools/render-test/slang-support.cpp @@ -10,6 +10,7 @@ #include <stdio.h> #include "../../source/core/slang-string-util.h" +#include "../../source/core/slang-test-tool-util.h" namespace renderer_test { using namespace Slang; @@ -199,7 +200,7 @@ void ShaderCompilerUtil::Output::reset() if (auto diagnostics = spGetDiagnosticOutput(slangRequest)) { - fprintf(stderr, "%s", diagnostics); + StdWriters::getError().print("%s", diagnostics); } SLANG_RETURN_ON_FAIL(res); |
