From a27446c8fbc8900273852c9f8ca7da8e69fc7f10 Mon Sep 17 00:00:00 2001 From: scrawl Date: Tue, 28 Apr 2015 16:02:29 +0200 Subject: [PATCH] Remove unused headers --- apps/openmw/mwgui/myguiplatform.hpp | 5 +---- apps/openmw/mwgui/myguirendermanager.cpp | 4 ++++ apps/openmw/mwgui/myguirendermanager.hpp | 1 + 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/apps/openmw/mwgui/myguiplatform.hpp b/apps/openmw/mwgui/myguiplatform.hpp index 4c3e70143..a2256e970 100644 --- a/apps/openmw/mwgui/myguiplatform.hpp +++ b/apps/openmw/mwgui/myguiplatform.hpp @@ -2,9 +2,6 @@ #define OPENMW_MWGUI_MYGUIPLATFORM_H #include "MyGUI_Prerequest.h" -#include "MyGUI_DummyRenderManager.h" -#include "MyGUI_DummyDataManager.h" -#include "MyGUI_DummyDiagnostic.h" #include "MyGUI_LogManager.h" #include "myguirendermanager.hpp" @@ -36,7 +33,7 @@ namespace MWGui mLogManager = nullptr; } - void initialise(const std::string& resourcePath, const std::string& _logName = MYGUI_PLATFORM_LOG_FILENAME) + void initialise(const std::string& resourcePath, const std::string& _logName = "MyGUI.log") { if (!_logName.empty()) MyGUI::LogManager::getInstance().createDefaultSource(_logName); diff --git a/apps/openmw/mwgui/myguirendermanager.cpp b/apps/openmw/mwgui/myguirendermanager.cpp index c066ba308..06e404d88 100644 --- a/apps/openmw/mwgui/myguirendermanager.cpp +++ b/apps/openmw/mwgui/myguirendermanager.cpp @@ -476,6 +476,10 @@ void RenderManager::initialise() mIsInitialise = true; } +void RenderManager::shutdown() +{ +} + MyGUI::IVertexBuffer* RenderManager::createVertexBuffer() { return new OSGVertexBuffer(); diff --git a/apps/openmw/mwgui/myguirendermanager.hpp b/apps/openmw/mwgui/myguirendermanager.hpp index 64a5fe07b..513edb5b7 100644 --- a/apps/openmw/mwgui/myguirendermanager.hpp +++ b/apps/openmw/mwgui/myguirendermanager.hpp @@ -53,6 +53,7 @@ public: virtual ~RenderManager(); void initialise(); + void shutdown(); static RenderManager& getInstance() { return *getInstancePtr(); } static RenderManager* getInstancePtr()