mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-25 16:25:37 +00:00
Commented-out unneeded call to Translate() method.
This commit is contained in:
parent
0c3e912dd4
commit
c3f3b2728b
|
@ -71,7 +71,7 @@ namespace Bind.GL2
|
||||||
|
|
||||||
// Process enums and delegates - create wrappers.
|
// Process enums and delegates - create wrappers.
|
||||||
Trace.WriteLine("Processing specs, please wait...");
|
Trace.WriteLine("Processing specs, please wait...");
|
||||||
this.Translate();
|
//this.Translate();
|
||||||
|
|
||||||
this.WriteBindings(
|
this.WriteBindings(
|
||||||
Bind.Structures.Delegate.Delegates,
|
Bind.Structures.Delegate.Delegates,
|
||||||
|
@ -82,12 +82,12 @@ namespace Bind.GL2
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region private void Translate()
|
#region private void Translate()
|
||||||
|
#if false
|
||||||
protected virtual void Translate()
|
protected virtual void Translate()
|
||||||
{
|
{
|
||||||
Bind.Structures.Enum.GLEnums.Translate();
|
Bind.Structures.Enum.GLEnums.Translate();
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region ISpecReader Members
|
#region ISpecReader Members
|
||||||
|
@ -404,6 +404,9 @@ namespace Bind.GL2
|
||||||
if (words.Length < 2)
|
if (words.Length < 2)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
if (((Settings.Compatibility & Settings.Legacy.NoBoolParameters) != Settings.Legacy.None) && words[1] == "bool")
|
||||||
|
words[1] = "Int32";
|
||||||
|
|
||||||
CSTypes.Add(words[0], words[1]);
|
CSTypes.Add(words[0], words[1]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -61,7 +61,7 @@ namespace Bind.Glu
|
||||||
|
|
||||||
// Process enums and delegates - create wrappers.
|
// Process enums and delegates - create wrappers.
|
||||||
Trace.WriteLine("Processing specs, please wait...");
|
Trace.WriteLine("Processing specs, please wait...");
|
||||||
this.Translate();
|
//this.Translate();
|
||||||
|
|
||||||
this.WriteBindings(
|
this.WriteBindings(
|
||||||
Bind.Structures.Delegate.Delegates,
|
Bind.Structures.Delegate.Delegates,
|
||||||
|
|
|
@ -57,7 +57,7 @@ namespace Bind.Glx
|
||||||
|
|
||||||
// Process enums and delegates - create wrappers.
|
// Process enums and delegates - create wrappers.
|
||||||
Trace.WriteLine("Processing specs, please wait...");
|
Trace.WriteLine("Processing specs, please wait...");
|
||||||
this.Translate();
|
//this.Translate();
|
||||||
|
|
||||||
this.WriteBindings(
|
this.WriteBindings(
|
||||||
Bind.Structures.Delegate.Delegates,
|
Bind.Structures.Delegate.Delegates,
|
||||||
|
|
|
@ -58,7 +58,7 @@ namespace Bind.Wgl
|
||||||
|
|
||||||
// Process enums and delegates - create wrappers.
|
// Process enums and delegates - create wrappers.
|
||||||
Trace.WriteLine("Processing specs, please wait...");
|
Trace.WriteLine("Processing specs, please wait...");
|
||||||
this.Translate();
|
//this.Translate();
|
||||||
|
|
||||||
this.WriteBindings(
|
this.WriteBindings(
|
||||||
Bind.Structures.Delegate.Delegates,
|
Bind.Structures.Delegate.Delegates,
|
||||||
|
|
Loading…
Reference in a new issue