Something's not kosher with how it works here -- after about 3 seconds the cursor appears over the animation as a hourglass, then windows complains about it not responding WHILE it's still running. Taking a guess I'd say the 'while' without a proper wm handler could have something to do with it. GetAsync is cute, it's not a substitute for actually calling windows for input handling.
since last I checked, that's just a waste of time. Likewise there's no reason to set the clear color or matrix mode on every loop.
Still VERY cool demo of openGL lighting.
-- edit -- doh, my bad on the push/popmatrix, removed that part. What I get for posting at 4AM.
Bookmarks