mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-26 03:35:33 +00:00
Removed fixed expression that caused compilation error on VS2010 (but not Mono 2.6.7).
This commit is contained in:
parent
4d2759eb78
commit
b63db9329d
|
@ -122,8 +122,8 @@ namespace OpenTK.Input
|
||||||
bool equal = true;
|
bool equal = true;
|
||||||
unsafe
|
unsafe
|
||||||
{
|
{
|
||||||
|
int* k2 = other.Keys;
|
||||||
fixed (int* k1 = Keys)
|
fixed (int* k1 = Keys)
|
||||||
fixed (int* k2 = other.Keys)
|
|
||||||
{
|
{
|
||||||
for (int i = 0; equal && i < NumInts; i++)
|
for (int i = 0; equal && i < NumInts; i++)
|
||||||
equal &= *(k1 + i) == *(k2 + i);
|
equal &= *(k1 + i) == *(k2 + i);
|
||||||
|
|
|
@ -302,8 +302,8 @@ namespace OpenTK.Input
|
||||||
bool equal = true;
|
bool equal = true;
|
||||||
unsafe
|
unsafe
|
||||||
{
|
{
|
||||||
|
int* b2 = other.Buttons;
|
||||||
fixed (int* b1 = Buttons)
|
fixed (int* b1 = Buttons)
|
||||||
fixed (int* b2 = other.Buttons)
|
|
||||||
{
|
{
|
||||||
for (int i = 0; equal && i < NumInts; i++)
|
for (int i = 0; equal && i < NumInts; i++)
|
||||||
equal &= *(b1 + i) == *(b2 + i);
|
equal &= *(b1 + i) == *(b2 + i);
|
||||||
|
|
Loading…
Reference in a new issue