*** empty log message ***
authorSam Lantinga <slouken@libsdl.org>
Fri, 11 Oct 2002 08:45:07 +0000
changeset 52921409a7a5fee
parent 528 9cba51c7a4ef
child 530 d37660186e58
*** empty log message ***
test/testsprite.c
     1.1 --- a/test/testsprite.c	Fri Oct 11 08:41:48 2002 +0000
     1.2 +++ b/test/testsprite.c	Fri Oct 11 08:45:07 2002 +0000
     1.3 @@ -267,6 +267,9 @@
     1.4  		++frames;
     1.5  		while ( SDL_PollEvent(&event) ) {
     1.6  			switch (event.type) {
     1.7 +				case SDL_MOUSEBUTTONDOWN:
     1.8 +					SDL_WarpMouse(screen->w/2, screen->h/2);
     1.9 +					break;
    1.10  				case SDL_KEYDOWN:
    1.11  					/* Any keypress quits the app... */
    1.12  				case SDL_QUIT: