Fixed crash while resizing a window on Mac OS X.
1.1 --- a/src/events/SDL_events.c Sun Feb 13 22:30:06 2011 -0800
1.2 +++ b/src/events/SDL_events.c Sun Feb 13 22:53:12 2011 -0800
1.3 @@ -270,7 +270,12 @@
1.4 }
1.5
1.6 /* Make sure the events are current */
1.7 +#if 0
1.8 + /* Actually, we can't do this since we might be flushing while processing
1.9 + a resize event, and calling this might trigger further resize events.
1.10 + */
1.11 SDL_PumpEvents();
1.12 +#endif
1.13
1.14 /* Lock the event queue */
1.15 if (SDL_mutexP(SDL_EventQ.lock) == 0) {