2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-03-17 10:23:02 +00:00

fix: indentation in shader dumping error message

This commit is contained in:
Jan Laupetin
2026-03-06 22:38:11 +00:00
parent eae57d9da0
commit 2f12092773

View File

@@ -102,6 +102,7 @@ namespace
{ {
if (!shader.m_name.empty()) if (!shader.m_name.empty())
{ {
Indent();
m_stream << std::format("// ERROR: Cannot dump shader {} as its data is not loaded\n", shader.m_name); m_stream << std::format("// ERROR: Cannot dump shader {} as its data is not loaded\n", shader.m_name);
con::error("Technique {}: Cannot dump shader {} as its data is not loaded", technique.m_name, shader.m_name); con::error("Technique {}: Cannot dump shader {} as its data is not loaded", technique.m_name, shader.m_name);
} }