[Input] Removed pointless unsafe region

This commit is contained in:
thefiddler 2014-05-04 17:01:34 +02:00
parent 1096a8802a
commit 268e8fccde

View file

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