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