Renderer/GlslWriter: Fix comment sections being "Uniforms" no matter the section value
This commit is contained in:
@@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user