1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-20 02:23:51 +00:00

Remove unused headers

This commit is contained in:
scrawl 2015-04-28 16:02:29 +02:00
parent 63b69db617
commit a27446c8fb
3 changed files with 6 additions and 4 deletions

View file

@ -2,9 +2,6 @@
#define OPENMW_MWGUI_MYGUIPLATFORM_H #define OPENMW_MWGUI_MYGUIPLATFORM_H
#include "MyGUI_Prerequest.h" #include "MyGUI_Prerequest.h"
#include "MyGUI_DummyRenderManager.h"
#include "MyGUI_DummyDataManager.h"
#include "MyGUI_DummyDiagnostic.h"
#include "MyGUI_LogManager.h" #include "MyGUI_LogManager.h"
#include "myguirendermanager.hpp" #include "myguirendermanager.hpp"
@ -36,7 +33,7 @@ namespace MWGui
mLogManager = nullptr; 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()) if (!_logName.empty())
MyGUI::LogManager::getInstance().createDefaultSource(_logName); MyGUI::LogManager::getInstance().createDefaultSource(_logName);

View file

@ -476,6 +476,10 @@ void RenderManager::initialise()
mIsInitialise = true; mIsInitialise = true;
} }
void RenderManager::shutdown()
{
}
MyGUI::IVertexBuffer* RenderManager::createVertexBuffer() MyGUI::IVertexBuffer* RenderManager::createVertexBuffer()
{ {
return new OSGVertexBuffer(); return new OSGVertexBuffer();

View file

@ -53,6 +53,7 @@ public:
virtual ~RenderManager(); virtual ~RenderManager();
void initialise(); void initialise();
void shutdown();
static RenderManager& getInstance() { return *getInstancePtr(); } static RenderManager& getInstance() { return *getInstancePtr(); }
static RenderManager* getInstancePtr() static RenderManager* getInstancePtr()