mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-11 23:05:55 +00:00
Possible fix for overflow exception on mouse wheel movement in x64 mode.
This commit is contained in:
parent
244de27aa2
commit
b519f2b04c
|
@ -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