[Fix] (MG_Util/GLSLTool): get rid of unnecessary whitespace removal

This commit is contained in:
2025-06-30 15:32:59 +08:00
parent a6bcded3e4
commit 067d517527
2 changed files with 168 additions and 173 deletions
-5
View File
@@ -558,11 +558,6 @@ namespace MG_Util::Program {
for (auto& span : removalSpans) {
source.erase(span.first, span.second);
}
source = std::regex_replace(
source,
std::regex(R"((\r\n|\n|\r){2,})"),
"$1"
);
}
std::string uboBlock = "\nlayout(std140) uniform MG_DEFAULT_UBO\n{\n";