mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-03-30 08:36:55 +00:00
* Main.cs:
* ES/ESGenerator.cs: Improved handling of default namespace to avoid clash with user overrides.
This commit is contained in:
parent
f9365a4cc4
commit
b67f479c6c
|
@ -35,7 +35,6 @@ namespace Bind.ES
|
||||||
Settings.DelegatesClass = "Delegates";
|
Settings.DelegatesClass = "Delegates";
|
||||||
|
|
||||||
Settings.OutputClass = "GL";
|
Settings.OutputClass = "GL";
|
||||||
Settings.OutputNamespace = "OpenTK.Graphics." + nsName;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -223,6 +223,7 @@ namespace Bind
|
||||||
Settings.DefaultOutputPath = Path.Combine(
|
Settings.DefaultOutputPath = Path.Combine(
|
||||||
Directory.GetParent(Settings.DefaultOutputPath).ToString(),
|
Directory.GetParent(Settings.DefaultOutputPath).ToString(),
|
||||||
dirName);
|
dirName);
|
||||||
|
Settings.DefaultOutputNamespace = "OpenTK.Graphics.ES10";
|
||||||
}
|
}
|
||||||
else if (arg == "es11")
|
else if (arg == "es11")
|
||||||
{
|
{
|
||||||
|
@ -230,6 +231,7 @@ namespace Bind
|
||||||
Settings.DefaultOutputPath = Path.Combine(
|
Settings.DefaultOutputPath = Path.Combine(
|
||||||
Directory.GetParent(Settings.DefaultOutputPath).ToString(),
|
Directory.GetParent(Settings.DefaultOutputPath).ToString(),
|
||||||
dirName);
|
dirName);
|
||||||
|
Settings.DefaultOutputNamespace = "OpenTK.Graphics.ES11";
|
||||||
}
|
}
|
||||||
else if (arg == "es20")
|
else if (arg == "es20")
|
||||||
{
|
{
|
||||||
|
@ -237,6 +239,7 @@ namespace Bind
|
||||||
Settings.DefaultOutputPath = Path.Combine(
|
Settings.DefaultOutputPath = Path.Combine(
|
||||||
Directory.GetParent(Settings.DefaultOutputPath).ToString(),
|
Directory.GetParent(Settings.DefaultOutputPath).ToString(),
|
||||||
dirName);
|
dirName);
|
||||||
|
Settings.DefaultOutputNamespace = "OpenTK.Graphics.ES20";
|
||||||
}
|
}
|
||||||
else if (arg == "cl" || arg == "cl10")
|
else if (arg == "cl" || arg == "cl10")
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue