Skip to content
Permalink
Browse files

Oops, reverted single/double buffer update

  • Loading branch information
pmandin committed Jun 14, 2006
1 parent 568e5ad commit fb4f8d8d0a9338c9751b1e15a971d1f3254fb9f4
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/testcursor.c
@@ -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);
}

0 comments on commit fb4f8d8

Please sign in to comment.