diff src/video/SDL_video.c @ 4142:4433ef2a1802 SDL-1.2

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.
author Sam Lantinga <slouken@libsdl.org>
date Fri, 29 Feb 2008 14:01:45 +0000
parents fc69b552ee32
children a1b03ba2fcd0
line wrap: on
line diff
--- 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);
+	}
 }
 
 /*