Skip to content
Permalink
Browse files

*** empty log message ***

  • Loading branch information
slouken committed Oct 11, 2002
1 parent fe344a4 commit 0534a4465d1330f720cf842a82b881b33ccdfa38
Showing with 3 additions and 0 deletions.
  1. +3 −0 test/testsprite.c
@@ -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:

0 comments on commit 0534a44

Please sign in to comment.