Skip to content

Commit

Permalink
add some explaination to the switch from SDL_UpdateRect to SDL_Flip
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanovic committed Dec 13, 2011
1 parent 7cd09c8 commit cbc7743
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions unix/unix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1226,6 +1226,10 @@ bool8_32 S9xDeinitUpdate ( int Width, int Height ) {

// update the actual screen
//SDL_UpdateRect(screen,0,0,0,0);
// The following line only makes "real" sense if in doublebuffering mode.
// this is currently not working as nicely as it could/should, so not
// activating it. While in a swsurface this just behaves the same as a plain
// SDL_UpdateRect(screen,0,0,0,0);
SDL_Flip(screen);

return(TRUE);
Expand Down

0 comments on commit cbc7743

Please sign in to comment.