Renderer/GlslWriter: Fix comment sections being "Uniforms" no matter the section value
This commit is contained in:
parent
206576ec9d
commit
79caa74db7
|
|
@ -335,10 +335,7 @@ namespace Nz
|
|||
if (!variables.empty())
|
||||
{
|
||||
if (!section.IsEmpty())
|
||||
{
|
||||
AppendCommentSection("Uniforms");
|
||||
AppendLine();
|
||||
}
|
||||
AppendCommentSection(section);
|
||||
|
||||
for (const auto& pair : variables)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue