Skip to content

Commit

Permalink
We probably want to still do this for fullscreen surfaces, since we m…
Browse files Browse the repository at this point in the history
…ay be

clearing the edges of a centered video mode or garbage left over from a mode
switch.
  • Loading branch information
slouken committed Feb 29, 2008
1 parent 09ea770 commit a3f0f38
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/video/SDL_video.c
Expand Up @@ -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);
}
}

/*
Expand Down

0 comments on commit a3f0f38

Please sign in to comment.