diff --git a/src/Magnum/Platform/Test/EmscriptenApplicationTest.cpp b/src/Magnum/Platform/Test/EmscriptenApplicationTest.cpp index ae3cd3fc9..e8849c105 100644 --- a/src/Magnum/Platform/Test/EmscriptenApplicationTest.cpp +++ b/src/Magnum/Platform/Test/EmscriptenApplicationTest.cpp @@ -172,7 +172,7 @@ struct EmscriptenApplicationTest: Platform::Application { /* For testing resize events */ explicit EmscriptenApplicationTest(const Arguments& arguments); - virtual void drawEvent() override { + void drawEvent() override { Debug() << "draw event"; #ifdef CUSTOM_CLEAR_COLOR GL::Renderer::setClearColor(CUSTOM_CLEAR_COLOR); @@ -181,9 +181,8 @@ struct EmscriptenApplicationTest: Platform::Application { swapBuffers(); - if(_redraw) { + if(_redraw) redraw(); - } } #ifdef MAGNUM_TARGET_GL