Browse Source

Platform: fix compilation on Emscripten.

Uh.
pull/107/head
Vladimír Vondruš 11 years ago
parent
commit
d36b7acae3
  1. 2
      src/Magnum/Platform/Sdl2Application.cpp

2
src/Magnum/Platform/Sdl2Application.cpp

@ -272,7 +272,9 @@ void Sdl2Application::exit() {
}
void Sdl2Application::mainLoop() {
#ifndef CORRADE_TARGET_EMSCRIPTEN
const UnsignedInt timeBefore = _minimalLoopPeriod ? SDL_GetTicks() : 0;
#endif
SDL_Event event;
while(SDL_PollEvent(&event)) {

Loading…
Cancel
Save