Fix for Valgrind Uninitialised Error from SDL_Event in sdl backend and derived backends.

svn-id: r49902
This commit is contained in:
David Turner 2010-06-16 07:22:54 +00:00
parent 8f962a8fc3
commit 4ac81f3d18
4 changed files with 4 additions and 0 deletions

View file

@ -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();