mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-12 08:35:38 +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;
|
||||
|
||||
case WindowMessage.MOUSEWHEEL:
|
||||
mouse.Wheel += (int)(msg.WParam.ToInt32() >> 16) / 120;
|
||||
mouse.Wheel += (msg.WParam.ToInt32() >> 16) / 120;
|
||||
return;
|
||||
|
||||
case WindowMessage.LBUTTONDOWN:
|
||||
|
|
Loading…
Reference in a new issue