Renderer/GlslWriter: Fix comment sections being "Uniforms" no matter the section value

This commit is contained in:
Lynix 2017-01-05 15:28:52 +01:00
parent 3ed661f387
commit 9e8785cf01
1 changed files with 1 additions and 4 deletions

View File

@ -335,10 +335,7 @@ namespace Nz
if (!variables.empty()) if (!variables.empty())
{ {
if (!section.IsEmpty()) if (!section.IsEmpty())
{ AppendCommentSection(section);
AppendCommentSection("Uniforms");
AppendLine();
}
for (const auto& pair : variables) for (const auto& pair : variables)
{ {