[SDL] WM_PAINT equivalent?

Brian brian.ripoff at gmail.com
Sun Feb 10 14:11:06 PST 2008


The expose event seems to be what you are looking for:
http://www.libsdl.org/cgi/docwiki.cgi/SDL_5fExposeEvent

On Feb 10, 2008 9:05 PM, L-28C <kixdemp at gmail.com> wrote:
> A portion of my game (the menu) doesn't need to be updated on every
> cycle. So I thought, why not just update it when the screen needs to be
> redrawn? Is there an equivalent to handling Win32's WM_PAINT in SDL?



More information about the SDL mailing list