Possible fix for overflow exception on mouse wheel movement in x64 mode.

This commit is contained in:
the_fiddler 2008-11-08 21:44:36 +00:00
parent 244de27aa2
commit b519f2b04c

View file

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