aboutsummaryrefslogtreecommitdiff
path: root/src/client/renderingengine.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/renderingengine.h')
-rw-r--r--src/client/renderingengine.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/client/renderingengine.h b/src/client/renderingengine.h
index fae431f1f..73b55229e 100644
--- a/src/client/renderingengine.h
+++ b/src/client/renderingengine.h
@@ -26,6 +26,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "irrlichttypes_extrabloated.h"
#include "debug.h"
+namespace irr { namespace scene {
+class IMesh;
+}}
class ITextureSource;
class Camera;
class Client;
@@ -58,6 +61,8 @@ public:
static bool print_video_modes();
void cleanupMeshCache();
+ void removeMesh(const irr::scene::IMesh* mesh);
+
static RenderingEngine *get_instance() { return s_singleton; }
io::IFileSystem *get_filesystem()
@@ -71,12 +76,6 @@ public:
return s_singleton->m_device->getVideoDriver();
}
- static scene::IMeshCache *get_mesh_cache()
- {
- sanity_check(s_singleton && s_singleton->m_device);
- return s_singleton->m_device->getSceneManager()->getMeshCache();
- }
-
static scene::ISceneManager *get_scene_manager()
{
sanity_check(s_singleton && s_singleton->m_device);