mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-03-03 16:11:33 +00:00
Merge remote-tracking branch 'gzdoom/master' into clientserver
This commit is contained in:
commit
edbb817274
1 changed files with 2 additions and 2 deletions
|
@ -54,9 +54,9 @@ public:
|
||||||
layout.Format("std140, binding = %d", bindingpoint);
|
layout.Format("std140, binding = %d", bindingpoint);
|
||||||
}
|
}
|
||||||
decl.Format("layout(%s) uniform %s\n{\n", layout.GetChars(), name);
|
decl.Format("layout(%s) uniform %s\n{\n", layout.GetChars(), name);
|
||||||
for (const auto &field : fields)
|
for (size_t i = 0; i < fields.size(); i++)
|
||||||
{
|
{
|
||||||
decl.AppendFormat("\t%s %s;\n", GetTypeStr(field.Type), field.Name);
|
decl.AppendFormat("\t%s %s;\n", GetTypeStr(fields[i].Type), fields[i].Name);
|
||||||
}
|
}
|
||||||
decl += "};\n";
|
decl += "};\n";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue