mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-24 01:45:37 +00:00
Removed unused code.
This commit is contained in:
parent
2e0466154d
commit
794a146df8
|
@ -23,7 +23,6 @@ namespace Bind.Structures
|
|||
{
|
||||
//internal static DelegateCollection Delegates;
|
||||
|
||||
private static bool delegatesLoaded;
|
||||
bool? cls_compliance_overriden;
|
||||
|
||||
protected static Regex endings = new Regex(@"((((d|f|fi)|u?[isb])_?v?)|v)", RegexOptions.Compiled | RegexOptions.RightToLeft);
|
||||
|
@ -34,34 +33,6 @@ namespace Bind.Structures
|
|||
// The default Regex matches no functions. Create a new Regex in Bind.Generator classes to override the default behavior.
|
||||
internal static Regex endingsAddV = new Regex("^0", RegexOptions.Compiled);
|
||||
|
||||
|
||||
#region internal static void Initialize(string glSpec, string glSpecExt)
|
||||
|
||||
internal static DelegateCollection Initialize(string glSpec, string glSpecExt)
|
||||
{
|
||||
DelegateCollection delegates = new DelegateCollection();
|
||||
using (StreamReader sr = Utilities.OpenSpecFile(Settings.InputPath, glSpec))
|
||||
{
|
||||
delegates = MainClass.Generator.ReadDelegates(sr);
|
||||
}
|
||||
|
||||
if (!String.IsNullOrEmpty(glSpecExt))
|
||||
{
|
||||
using (StreamReader sr = Utilities.OpenSpecFile(Settings.InputPath, glSpecExt))
|
||||
{
|
||||
foreach (Delegate d in MainClass.Generator.ReadDelegates(sr).Values)
|
||||
{
|
||||
Utilities.Merge(delegates, d);
|
||||
}
|
||||
}
|
||||
}
|
||||
delegatesLoaded = true;
|
||||
|
||||
return delegates;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region --- Constructors ---
|
||||
|
||||
public Delegate()
|
||||
|
|
|
@ -19,7 +19,6 @@ namespace Bind.Structures
|
|||
{
|
||||
static StringBuilder translator = new StringBuilder();
|
||||
string _name, _type;
|
||||
static bool enumsLoaded;
|
||||
|
||||
// Returns true if the enum contains a collection of flags, i.e. 1, 2, 4, 8, ...
|
||||
public bool IsFlagCollection
|
||||
|
|
|
@ -16,7 +16,6 @@ namespace Bind.Structures
|
|||
#region Fields
|
||||
|
||||
Delegate wrapped_delegate;
|
||||
int index;
|
||||
|
||||
#endregion
|
||||
|
||||
|
|
Loading…
Reference in a new issue