src/video/SDL_video.c
branchSDL-1.2
changeset 6125 760a3162e180
parent 6111 2280c0954104
child 6137 4720145f848b
     1.1 --- a/src/video/SDL_video.c	Fri Dec 30 06:01:09 2011 -0500
     1.2 +++ b/src/video/SDL_video.c	Fri Dec 30 06:22:59 2011 -0500
     1.3 @@ -573,6 +573,10 @@
     1.4      #include <sys/neutrino.h>
     1.5  #endif /* __QNXNTO__ */
     1.6  
     1.7 +#ifdef WIN32
     1.8 +	extern int sysevents_mouse_pressed;
     1.9 +#endif
    1.10 +
    1.11  /*
    1.12   * Set the requested video mode, allocating a shadow buffer if necessary.
    1.13   */
    1.14 @@ -586,6 +590,10 @@
    1.15  	int is_opengl;
    1.16  	SDL_GrabMode saved_grab;
    1.17  
    1.18 +	#ifdef WIN32
    1.19 +		sysevents_mouse_pressed = 0;
    1.20 +	#endif
    1.21 +
    1.22  	/* Start up the video driver, if necessary..
    1.23  	   WARNING: This is the only function protected this way!
    1.24  	 */