|
update() and pollEvent() are called multiple times over
the course of one game loop, thus restoreSurfaceUnderMousePointer()
and displayMousePointer() are called multiple times as well. This caused
massive lag and froze the script system when the mouse was moved.
While this commit doesn't fix the cursor flickering, it is now responsive
at all times.
|