|
From: Melchior F. <mf...@ao...> - 2006-02-16 21:11:52
|
* David Megginson -- Thursday 16 February 2006 03:36: > It still doesn't seem to be working perfectly, but it's better than before. Fixed for SDL. The problem was that fgWarpMouse()/SDL_WarpMouse() moves the pointer to the center and creates a mouse motion event. But before this event was processed, there could still be mouse motion events for the old position left in the queue. So we got a big delta and an ugly jump. The mouse motion events are now flushed from the queue. (I haven't looked into (free)glut. Same problem there?) m. |