[Input] Removed pointless unsafe region
This commit is contained in:
parent
1096a8802a
commit
268e8fccde
1 changed files with 5 additions and 8 deletions
|
@ -292,14 +292,11 @@ namespace OpenTK.Input
|
|||
|
||||
internal void MergeBits(MouseState other)
|
||||
{
|
||||
unsafe
|
||||
{
|
||||
buttons |= other.buttons;
|
||||
SetScrollRelative(other.scroll.X, other.scroll.Y);
|
||||
X += other.X;
|
||||
Y += other.Y;
|
||||
IsConnected |= other.IsConnected;
|
||||
}
|
||||
buttons |= other.buttons;
|
||||
SetScrollRelative(other.scroll.X, other.scroll.Y);
|
||||
X += other.X;
|
||||
Y += other.Y;
|
||||
IsConnected |= other.IsConnected;
|
||||
}
|
||||
|
||||
internal void SetIsConnected(bool value)
|
||||
|
|
Loading…
Reference in a new issue