mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-10 21:28:32 +09:00
[Fix] (MG_Util/GLSLTool): get rid of unnecessary whitespace removal
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user