Commit 98f09208 authored by Sam Lantinga's avatar Sam Lantinga

Fixed crash while resizing a window on Mac OS X.

parent da8fc93d
......@@ -270,7 +270,12 @@ SDL_FlushEvents(Uint32 minType, Uint32 maxType)
}
/* Make sure the events are current */
#if 0
/* Actually, we can't do this since we might be flushing while processing
a resize event, and calling this might trigger further resize events.
*/
SDL_PumpEvents();
#endif
/* Lock the event queue */
if (SDL_mutexP(SDL_EventQ.lock) == 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment