Win32 flickering fix

On windows, there is a lot of flickering on some PC
here is the fix:

video/wincommon/SDL_sysevents.c
line 385:
case WM_ERASEBKGND: {
/* Just do Nothing */
}

line 440:
class.hbrBackground = NULL;

this will prevent the black background to be displayed

Gautier
www.tlk.fr

On windows, there is a lot of flickering on some PC
here is the fix:

video/wincommon/SDL_sysevents.c
line 385:
case WM_ERASEBKGND: {
/* Just do Nothing */
}

oups, forgot:
return (1);>

line 440:
class.hbrBackground = NULL;

On windows, there is a lot of flickering on some PC
here is the fix:

Thanks! :slight_smile:
Your fix will be in the next SDL CVS snapshot.

See ya,
-Sam Lantinga, Lead Programmer, Loki Entertainment Software