make some changes to opengl api gen, discussing on rewrite of all opengl binding, making it neat and structral
This commit is contained in:
@@ -101,7 +101,8 @@ namespace GenerateGL.CodeGen
|
||||
{
|
||||
string pName = p.Element("name")?.Value ?? string.Empty;
|
||||
string cType = BuildCType(p, out int pointerLevel, out _, out bool isConst);
|
||||
parameters.Add(new GlParam(pName, cType, pointerLevel, isConst));
|
||||
string? length = p.Attribute("len")?.Value;
|
||||
parameters.Add(new GlParam(pName, cType, pointerLevel, isConst, length));
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(name)) {
|
||||
|
||||
Reference in New Issue
Block a user