# HG changeset patch # User Sam Lantinga # Date 1204293705 0 # Node ID 4433ef2a18023b9145deecbcde43d908bceb6e0c # Parent 8b10a6efad413aeb8b2272ca0c9fb002dddb4047 We probably want to still do this for fullscreen surfaces, since we may be clearing the edges of a centered video mode or garbage left over from a mode switch. diff -r 8b10a6efad41 -r 4433ef2a1802 src/video/SDL_video.c --- a/src/video/SDL_video.c Fri Feb 29 13:58:37 2008 +0000 +++ b/src/video/SDL_video.c Fri Feb 29 14:01:45 2008 +0000 @@ -503,6 +503,9 @@ SDL_Flip(surface); SDL_FillRect(surface, NULL, black); } + if (surface->flags&SDL_FULLSCREEN) { + SDL_Flip(surface); + } } /*