gl32: Reduce input lag at lower framerates
gl32: Reduce input lag at lower framerates

This patch moves input handling to directly after swapping the window.
As a result, all engine systems will have the ability to act on the new
data resulting from the handling of new input.

shockkolate/polar4,polar-engine/polar,shockkolate/polar4,shockkolate/polar4,shockkolate/polar4,polar-engine/polar