The first answer was already satisfying, no need to fight. If there is a different behavior on some systems, then I need to find a trick to fix it.Triggering a whole refresh is a good solution, by catching SDL expose events.
By the way, there’s a little tipo mistake in the WiKi (“whan” instead of “when”):
<<
Description
SDL_ExposeEvent is a member of the SDL_Event union and is used whan an event of type SDL_VIDEOEXPOSE is reported. A
VIDEOEXPOSE event is triggered when the screen has been modified
outside of the application, usually by the window manager and needs to
be redrawn.
Jonny DOn Mon, Jan 26, 2009 at 3:17 AM, julien CLEMENT wrote:
Look guys,
The first answer was already satisfying, no need to fight. If there is a
different behavior on some systems, then I need to find a trick to fix
it.Triggering a whole refresh is a good solution, by catching SDL expose
events.
By the way, there’s a little tipo mistake in the WiKi (“whan” instead of
“when”):
<<
Description