Fix a stupid typo in materialcompiler.cpp
This commit is contained in:
parent
e5fddf2c67
commit
a039d43d2e
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ ShaderSource get_shader(const std::string& filename, bool skinned, bool cubemap)
|
||||||
|
|
||||||
GFXPipeline* MaterialCompiler::create_static_pipeline(GFXGraphicsPipelineCreateInfo createInfo, bool positions_only, bool cubemap) {
|
GFXPipeline* MaterialCompiler::create_static_pipeline(GFXGraphicsPipelineCreateInfo createInfo, bool positions_only, bool cubemap) {
|
||||||
// take vertex src
|
// take vertex src
|
||||||
const std::string vertex_path = fmt::format("{}.glsl", createInfo.shaders.vertex_src.as_path().string(););
|
const std::string vertex_path = fmt::format("{}.glsl", createInfo.shaders.vertex_src.as_path().string());
|
||||||
|
|
||||||
if (positions_only)
|
if (positions_only)
|
||||||
createInfo.label += " (shadow)";
|
createInfo.label += " (shadow)";
|
||||||
|
|
Reference in a new issue