changeset 1859:2fce7697adca

Oops, reverted single/double buffer update
author Patrice Mandin <patmandin@gmail.com>
date Wed, 14 Jun 2006 19:03:01 +0000
parents d3ac464fb3c1
children 3cde094c580d
files test/testcursor.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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);
 	}