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

Update the queued event wmmsg pointer to point to the queued event data.

  • Loading branch information
slouken committed Jun 11, 2013
1 parent 6d0a8a6 commit 9a619b0c04eea35bae60454ba0b0bb73e1a44db2
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/events/SDL_events.c
@@ -206,6 +206,7 @@ SDL_AddEvent(SDL_Event * event)
entry->event = *event;
if (event->type == SDL_SYSWMEVENT) {
entry->msg = *event->syswm.msg;
entry->event.syswm.msg = &entry->msg;
}

if (SDL_EventQ.tail) {

0 comments on commit 9a619b0

Please sign in to comment.