author | Patrice Mandin <patmandin@gmail.com> |
Wed, 14 Jun 2006 19:03:01 +0000 | |
changeset 1859 | 2fce7697adca |
parent 1858 | d3ac464fb3c1 |
child 1860 | 3cde094c580d |
test/testcursor.c | file | annotate | diff | comparison | revisions |
--- a/test/testcursor.c Wed Jun 14 18:59:30 2006 +0000 +++ b/test/testcursor.c Wed Jun 14 19:03:01 2006 +0000 @@ -104,12 +104,12 @@ } } 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); }