diff --git a/src/Magnum/Platform/Test/AndroidApplicationTest.cpp b/src/Magnum/Platform/Test/AndroidApplicationTest.cpp index dccd673f5..aa86380ec 100644 --- a/src/Magnum/Platform/Test/AndroidApplicationTest.cpp +++ b/src/Magnum/Platform/Test/AndroidApplicationTest.cpp @@ -26,6 +26,7 @@ #include +#include "Magnum/GL/DefaultFramebuffer.h" #include "Magnum/Platform/AndroidApplication.h" namespace Magnum { namespace Platform { @@ -76,7 +77,11 @@ struct AndroidApplicationTest: Platform::Application { Debug{} << "window size" << windowSize() << framebufferSize() << dpiScaling(); } - void drawEvent() override {} + void drawEvent() override { + GL::defaultFramebuffer.clear(GL::FramebufferClear::Color); + + swapBuffers(); + } /* For testing HiDPI resize events */ void viewportEvent(ViewportEvent& event) override {