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.

--HG--
branch : SDL-1.2
This commit is contained in:
Sam Lantinga
2008-02-29 14:01:45 +00:00
parent 3f1d5190af
commit e1a1900167

View File

@@ -503,6 +503,9 @@ static void SDL_ClearSurface(SDL_Surface *surface)
SDL_Flip(surface);
SDL_FillRect(surface, NULL, black);
}
if (surface->flags&SDL_FULLSCREEN) {
SDL_Flip(surface);
}
}
/*