mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-12 05:25:35 +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;
|
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