found GLUT bug in ghc6.2 (passiveMotionCallback)

i was not able to use motionCallback and passiveMotionCallback together. (runtime test) it seems to be just a typical copy-paste-bug. coeus@titan ~/Documents/haskell/ghc-6.2/libraries/GLUT/Graphics/UI/GLUT/Callbacks $ diff Window.hs.old Window.hs.new 495c495 < setCallback MotionCB glutPassiveMotionFunc (makeMotionCallback . unmarshal) ---
setCallback PassiveMotionCB glutPassiveMotionFunc (makeMotionCallback . unmarshal) coeus@titan ~/Documents/haskell/ghc-6.2/libraries/GLUT/Graphics/UI/GLUT/Callbacks $

Marc A. Ziegert wrote:
i was not able to use motionCallback and passiveMotionCallback together. (runtime test) it seems to be just a typical copy-paste-bug. [...]
I confess being guilty! :-) Fixed in CVS, both for the HEAD and the 6.2 branch. Thanks for spotting this, S.
participants (2)
-
Marc A. Ziegert
-
Sven Panne