Browse Source

Platform::Sdl2Application: properly handle SDL_QUIT.

F'ed up in 6fd8dc86ad, the app didn't
respond to closing the window.
pull/278/head
Vladimír Vondruš 13 years ago
parent
commit
b85f50ffab
  1. 4
      src/Platform/Sdl2Application.cpp

4
src/Platform/Sdl2Application.cpp

@ -169,7 +169,9 @@ void Sdl2Application::mainLoop() {
break; break;
} }
case SDL_QUIT: return; case SDL_QUIT:
flags |= Flag::Exit;
return;
} }
} }

Loading…
Cancel
Save