Skip to content

Commit

Permalink
*** empty log message ***
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Oct 11, 2002
1 parent fe344a4 commit 0534a44
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/testsprite.c
Expand Up @@ -267,6 +267,9 @@ int main(int argc, char *argv[])
++frames;
while ( SDL_PollEvent(&event) ) {
switch (event.type) {
case SDL_MOUSEBUTTONDOWN:
SDL_WarpMouse(screen->w/2, screen->h/2);
break;
case SDL_KEYDOWN:
/* Any keypress quits the app... */
case SDL_QUIT:
Expand Down

0 comments on commit 0534a44

Please sign in to comment.