Skip to content
This repository has been archived by the owner. It is now read-only.
Browse files

Fixed crash while resizing a window on Mac OS X.

  • Loading branch information
slouken committed Feb 14, 2011
1 parent 273b830 commit 3f5776afc21ec4a6b96494f5a7cd6636db57795e

File 1 of 1 in 3f5776a

@@ -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.

/* Lock the event queue */
if (SDL_mutexP(SDL_EventQ.lock) == 0) {

0 comments on commit 3f5776a

Please sign in to comment.