mirror of
https://github.com/yawut/SDL.git
synced 2026-10-02 05:06:46 -05:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user