101 reputation
bio website
location
age
visits member for 2 years, 6 months
seen Sep 12 '12 at 13:07

Jun
11
comment How can I process continuously-held keys with SDL?
You should call SDL_PumpEvents() before SDL_GetKeyState(), otherwise you're operating on last frame's key state. Alternatively, call SDL_GetKeyState() after the SDL_PollEvents() loop.