make some changes to opengl api gen, discussing on rewrite of all opengl binding, making it neat and structral
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user