Skip to content

Commit

Permalink
Oops, reverted single/double buffer update
Browse files Browse the repository at this point in the history
  • Loading branch information
pmandin committed Jun 14, 2006
1 parent 568e5ad commit fb4f8d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/testcursor.c
Expand Up @@ -104,12 +104,12 @@ int main(int argc, char *argv[])
}
}
if (screen->flags & SDL_DOUBLEBUF) {
SDL_Flip(screen);
} else {
if (first_time) {
SDL_UpdateRects(screen, 1, &update_area);
first_time = SDL_FALSE;
}
} else {
SDL_Flip(screen);
}
SDL_Delay(1);
}
Expand Down

0 comments on commit fb4f8d8

Please sign in to comment.