Commit eb403e24 authored by Sam Lantinga's avatar Sam Lantinga

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
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%402736
parent 580dd6f9
......@@ -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);
}
}
/*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment