Commit c4d4cafe authored by Lukas Tietze's avatar Lukas Tietze

echter Dateiname wird 眉bergeben

parent 40b326ea
......@@ -163,7 +163,7 @@ bool lib::CompileShader(const std::string &glsl, const lib::ShaderInfo &info, li
}
auto preprocessedText = std::string(preprocessingResult.begin(), preprocessingResult.end());
auto compileResult = compiler.CompileGlslToSpv(preprocessedText, shaderKind, "shader_src.frag", options);
auto compileResult = compiler.CompileGlslToSpv(preprocessedText, shaderKind, info.path.c_str(), options);
if (compileResult.GetCompilationStatus() != shaderc_compilation_status_success)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment