test/testcursor.c
changeset 1859 2fce7697adca
parent 1858 d3ac464fb3c1
child 1862 fe99535ac064
--- 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);
 	}