Oops, reverted single/double buffer update
authorPatrice Mandin <patmandin@gmail.com>
Wed, 14 Jun 2006 19:03:01 +0000
changeset 18592fce7697adca
parent 1858 d3ac464fb3c1
child 1860 3cde094c580d
Oops, reverted single/double buffer update
test/testcursor.c
     1.1 --- a/test/testcursor.c	Wed Jun 14 18:59:30 2006 +0000
     1.2 +++ b/test/testcursor.c	Wed Jun 14 19:03:01 2006 +0000
     1.3 @@ -104,12 +104,12 @@
     1.4  			}
     1.5  		}	
     1.6  		if (screen->flags & SDL_DOUBLEBUF) {
     1.7 +			SDL_Flip(screen);
     1.8 +		} else {
     1.9  			if (first_time) {
    1.10  				SDL_UpdateRects(screen, 1, &update_area);
    1.11  				first_time = SDL_FALSE;
    1.12  			}
    1.13 -		} else {
    1.14 -			SDL_Flip(screen);
    1.15  		}	
    1.16  		SDL_Delay(1);
    1.17  	}