mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-26 08:31:04 +00:00
Possible fix for overflow exception on mouse wheel movement in x64 mode.
This commit is contained in:
parent
bca0eef6d4
commit
e6baa0a42f
|
@ -80,7 +80,7 @@ namespace OpenTK.Platform.Windows
|
||||||
return;
|
return;
|
||||||
|
|
||||||
case WindowMessage.MOUSEWHEEL:
|
case WindowMessage.MOUSEWHEEL:
|
||||||
mouse.Wheel += (int)(msg.WParam.ToInt32() >> 16) / 120;
|
mouse.Wheel += (msg.WParam.ToInt32() >> 16) / 120;
|
||||||
return;
|
return;
|
||||||
|
|
||||||
case WindowMessage.LBUTTONDOWN:
|
case WindowMessage.LBUTTONDOWN:
|
||||||
|
|
Loading…
Reference in a new issue