Removed fixed expression that caused compilation error on VS2010 (but not Mono 2.6.7).

This commit is contained in:
the_fiddler 2010-10-22 08:16:37 +00:00
parent 4d2759eb78
commit b63db9329d
2 changed files with 2 additions and 2 deletions

View file

@ -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);

View file

@ -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);