Fix for Valgrind Uninitialised Error from SDL_Event in sdl backend and derived backends.
svn-id: r49902
This commit is contained in:
parent
8f962a8fc3
commit
4ac81f3d18
4 changed files with 4 additions and 0 deletions
|
@ -180,6 +180,7 @@ static void SDLModToOSystemKeyFlags(SDLMod mod, Common::Event &event) {
|
|||
|
||||
bool OSystem_SDL::pollEvent(Common::Event &event) {
|
||||
SDL_Event ev;
|
||||
ev.type = SDL_NOEVENT;
|
||||
|
||||
handleKbdMouse();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue