Browse Source

Platform: minor cleanup in EmscriptenApplication test code.

pull/419/merge
Vladimír Vondruš 2 years ago
parent
commit
f84deb0ef6
  1. 5
      src/Magnum/Platform/Test/EmscriptenApplicationTest.cpp

5
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

Loading…
Cancel
Save