Skip to content

Commit

Permalink
WIndows SDL 1.x: Increase MAXEVENTS queue size, because merely access…
Browse files Browse the repository at this point in the history
…ing the system menu triggers enough messages to overflow it in Windows 10. This makes it possible to handle WM_SYSCOMMAND again.
  • Loading branch information
joncampbell123 committed Jan 7, 2018
1 parent c8f03cf commit 13564f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vs2015/sdl/src/events/SDL_events.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Uint8 SDL_ProcessEvents[SDL_NUMEVENTS];
static Uint32 SDL_eventstate = 0;

/* Private data -- event queue */
#define MAXEVENTS 128
#define MAXEVENTS 256
static struct {
SDL_mutex *lock;
int active;
Expand Down

0 comments on commit 13564f6

Please sign in to comment.