Ilya Olevsky <info <at> valengames.com> writes: > You can detect when your program loses input focus, and not draw while > it doesn't. This info is sent in SDL_ACTIVEEVENT. > Excellent, I read up on that and now it works, after doing a check using SDL_GetAppState(). Thanks very much!