From fea61e60f745643b83a1e77fe321ae9f8aae7d58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 7 Dec 2013 19:42:16 +0100 Subject: [PATCH] Platform: cleaned up unneeded includes. Also deinlined pure virtual function implementation. --- src/Platform/WindowlessNaClApplication.cpp | 5 +++++ src/Platform/WindowlessNaClApplication.h | 5 +---- 2 files changed, 6 insertions(+), 4 deletions(-) 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;