Fixed the SDL and Mouselook Problem
After spending hours trying to figure out why my mouselook function didn’t work with SDL, I finally got a solution.
The problem was that I didn’t use SDL_PumpEvents() before calling SDL_GetMouseState(). But if …