9da07cd41f
((a) || (b)) was defined to have value as: (a) if (a) != 0 (b) if (a) == 0 ...instead, it has value 0/1. This was causing a bug. It's probably just as well, since what I was trying to do definitely fell into the category of "clever code" rather than "clear code". Sorry. * Made glutSetKeyRepeat() call fgError() if you go out of range. (The old code silently did nothing---not even a warning.) If it is really desirable to keep running, we should probably at least generate an fgWarning(). * Deleted some say-nothing-new comments. * XXX added: Is glutSetKeyRepeat() deprecated? git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@256 7f0cb862-5218-0410-a997-914c9d46530a |
||
---|---|---|
.. | ||
freeglut |