diff --git a/src/Platform/WindowlessNaClApplication.cpp b/src/Platform/WindowlessNaClApplication.cpp index c1e72711f..e0065b82c 100644 --- a/src/Platform/WindowlessNaClApplication.cpp +++ b/src/Platform/WindowlessNaClApplication.cpp @@ -26,6 +26,7 @@ #include #include +#include #include #include "Context.h" @@ -112,4 +113,8 @@ bool WindowlessNaClApplication::Init(uint32_t , const char* , const char*) { return exec() == 0; } +void WindowlessNaClApplication::Graphics3DContextLost() { + CORRADE_ASSERT(false, "NaClApplication: context unexpectedly lost", ); +} + }} diff --git a/src/Platform/WindowlessNaClApplication.h b/src/Platform/WindowlessNaClApplication.h index 32aaa8f20..010a6ba41 100644 --- a/src/Platform/WindowlessNaClApplication.h +++ b/src/Platform/WindowlessNaClApplication.h @@ -35,7 +35,6 @@ #include #include -#include "Math/Vector2.h" #include "Magnum.h" #include "corradeCompatibility.h" @@ -132,9 +131,7 @@ class WindowlessNaClApplication: public pp::Instance, public pp::Graphics3DClien private: struct ConsoleDebugOutput; - void Graphics3DContextLost() override { - CORRADE_ASSERT(false, "NaClApplication: context unexpectedly lost", ); - } + void Graphics3DContextLost() override; bool Init(std::uint32_t, const char*, const char*) override;