Minor fix to allow for multiple ticks to be received at one time by the
authorRichard Rauch <rkr@olib.org>
Thu, 30 Oct 2003 03:20:24 +0000 (03:20 +0000)
committerRichard Rauch <rkr@olib.org>
Thu, 30 Oct 2003 03:20:24 +0000 (03:20 +0000)
commit473e31c2358ce574a7eb52f14ecdc7fc22f0f3e9
treed4c03f9a08de60636f3f551ace7acee53860bd7b
parent7b85dfd9105964963f038bb6a5949118358b5b4e
Minor fix to allow for multiple ticks to be received at one time by the
WIN32 code.  Take abs(direction) as the number of ticks, and count it
down.

<stdlib.h> *should* be included by freeglut_internal.h, I think, so it
should be okay; otherwise add a suitable #include.

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@268 7f0cb862-5218-0410-a997-914c9d46530a
src/freeglut_main.c