src/video/SDL_video.c
changeset 460 a888b3ae31ff
parent 456 b4e14b15af3c
child 488 0a111805b53a
equal deleted inserted replaced
459:2a778055dbba 460:a888b3ae31ff
   605 		flags &= ~(SDL_HWSURFACE|SDL_DOUBLEBUF);
   605 		flags &= ~(SDL_HWSURFACE|SDL_DOUBLEBUF);
   606 	}
   606 	}
   607 
   607 
   608 	/* Reset the keyboard here so event callbacks can run */
   608 	/* Reset the keyboard here so event callbacks can run */
   609 	SDL_ResetKeyboard();
   609 	SDL_ResetKeyboard();
       
   610 	SDL_ResetMouse();
   610 
   611 
   611 	/* Clean up any previous video mode */
   612 	/* Clean up any previous video mode */
   612 	if ( SDL_PublicSurface != NULL ) {
   613 	if ( SDL_PublicSurface != NULL ) {
   613 		SDL_PublicSurface = NULL;
   614 		SDL_PublicSurface = NULL;
   614 	}
   615 	}