From f84deb0ef6ef9e23db7e380463b7795146081e59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 5 Oct 2024 16:43:23 +0200 Subject: [PATCH] Platform: minor cleanup in EmscriptenApplication test code. --- src/Magnum/Platform/Test/EmscriptenApplicationTest.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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