make some changes to opengl api gen, discussing on rewrite of all opengl binding, making it neat and structral

This commit is contained in:
Youmu Liu
2026-08-25 17:33:45 +08:00
parent 708a915549
commit 65041ff8bc
63 changed files with 14404 additions and 8851 deletions
+3 -1
View File
@@ -40,7 +40,9 @@ namespace GenerateGL
{
string baseDir = AppContext.BaseDirectory;
string xmlPath = Path.GetFullPath(Path.Combine(baseDir, "xml", "gl.xml"));
string outputRoot = Path.GetFullPath(Path.Combine(baseDir, "Generated"));
string outputRoot = args.Length > 0
? Path.GetFullPath(args[0])
: Path.GetFullPath(Path.Combine(baseDir, "Generated"));
Console.WriteLine($"[GenerateGL] Loading registry: {xmlPath}");
var (commands, features) = GlXmlParser.Parse(xmlPath);