Skip to content

Commit f84deb0

Browse files
committed
Platform: minor cleanup in EmscriptenApplication test code.
1 parent 2a8e550 commit f84deb0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Diff for: src/Magnum/Platform/Test/EmscriptenApplicationTest.cpp

+2-3
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ struct EmscriptenApplicationTest: Platform::Application {
172172
/* For testing resize events */
173173
explicit EmscriptenApplicationTest(const Arguments& arguments);
174174

175-
virtual void drawEvent() override {
175+
void drawEvent() override {
176176
Debug() << "draw event";
177177
#ifdef CUSTOM_CLEAR_COLOR
178178
GL::Renderer::setClearColor(CUSTOM_CLEAR_COLOR);
@@ -181,9 +181,8 @@ struct EmscriptenApplicationTest: Platform::Application {
181181

182182
swapBuffers();
183183

184-
if(_redraw) {
184+
if(_redraw)
185185
redraw();
186-
}
187186
}
188187

189188
#ifdef MAGNUM_TARGET_GL

0 commit comments

Comments
 (0)