Valgrind fix.
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401162
This commit is contained in:
parent
071e2180f4
commit
4d7c808abf
1 changed files with 1 additions and 0 deletions
|
@ -159,6 +159,7 @@ static int X11_DispatchEvent(_THIS)
|
|||
int posted;
|
||||
XEvent xevent;
|
||||
|
||||
memset(&xevent, '\0', sizeof (XEvent)); /* valgrind fix. --ryan. */
|
||||
XNextEvent(SDL_Display, &xevent);
|
||||
|
||||
posted = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue