mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-23 14:31:04 +00:00
Cosmetic changes.
This commit is contained in:
parent
e0fc40b508
commit
b1d46915a9
|
@ -247,9 +247,7 @@ namespace Bind.GL2
|
||||||
{
|
{
|
||||||
// The value is a number, check if it should be unchecked.
|
// The value is a number, check if it should be unchecked.
|
||||||
if (number > 0x7FFFFFFF)
|
if (number > 0x7FFFFFFF)
|
||||||
{
|
|
||||||
c.Unchecked = true;
|
c.Unchecked = true;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -309,22 +307,15 @@ namespace Bind.GL2
|
||||||
//e.Translate();
|
//e.Translate();
|
||||||
|
|
||||||
if (!enums.ContainsKey(e.Name))
|
if (!enums.ContainsKey(e.Name))
|
||||||
{
|
|
||||||
enums.Add(e.Name, e);
|
enums.Add(e.Name, e);
|
||||||
}
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// The enum already exists, merge constants.
|
// The enum already exists, merge constants.
|
||||||
Trace.WriteLine(String.Format("Conflict: Enum {0} already exists, merging constants.", e.Name));
|
Trace.WriteLine(String.Format("Enum {0} already defined, merging constants.", e.Name));
|
||||||
foreach (Constant t in e.ConstantCollection.Values)
|
foreach (Constant t in e.ConstantCollection.Values)
|
||||||
{
|
|
||||||
Utilities.Merge(enums[e.Name], t);
|
Utilities.Merge(enums[e.Name], t);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//enums.Add(e);
|
|
||||||
}
|
}
|
||||||
//SpecTranslator.Merge(enums, complete_enum);
|
|
||||||
}
|
}
|
||||||
while (!specFile.EndOfStream);
|
while (!specFile.EndOfStream);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue