Removed fixed expression that caused compilation error on VS2010 (but not Mono 2.6.7).
This commit is contained in:
parent
bb01babfbd
commit
c7d8fb882a
2 changed files with 2 additions and 2 deletions
|
@ -122,8 +122,8 @@ namespace OpenTK.Input
|
|||
bool equal = true;
|
||||
unsafe
|
||||
{
|
||||
int* k2 = other.Keys;
|
||||
fixed (int* k1 = Keys)
|
||||
fixed (int* k2 = other.Keys)
|
||||
{
|
||||
for (int i = 0; equal && i < NumInts; i++)
|
||||
equal &= *(k1 + i) == *(k2 + i);
|
||||
|
|
|
@ -302,8 +302,8 @@ namespace OpenTK.Input
|
|||
bool equal = true;
|
||||
unsafe
|
||||
{
|
||||
int* b2 = other.Buttons;
|
||||
fixed (int* b1 = Buttons)
|
||||
fixed (int* b2 = other.Buttons)
|
||||
{
|
||||
for (int i = 0; equal && i < NumInts; i++)
|
||||
equal &= *(b1 + i) == *(b2 + i);
|
||||
|
|
Loading…
Reference in a new issue