Skip to content

Commit b79129f

Browse files
Merge branch 'workgroup_scan' of github.com:Devsh-Graphics-Programming/Nabla into workgroup_scan
2 parents 5d3e587 + abd048c commit b79129f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nbl/asset/utils/CGLSLCompiler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ std::string CGLSLCompiler::preprocessShader(std::string&& code, IShader::E_SHADE
151151
auto res = comp.PreprocessGlsl(code, scstage, preprocessOptions.sourceIdentifier.data(), options);
152152

153153
if (res.GetCompilationStatus() != shaderc_compilation_status_success) {
154-
preprocessOptions.logger.log(res.GetErrorMessage(), system::ILogger::ELL_ERROR);
154+
preprocessOptions.logger.log("%s\n", system::ILogger::ELL_ERROR, res.GetErrorMessage());
155155
return nullptr;
156156
}
157157

0 commit comments

Comments
 (0)