aboutsummaryrefslogtreecommitdiff
path: root/src/client/renderingengine.h
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2021-04-28 10:53:36 +0200
committerLoïc Blot <nerzhul@users.noreply.github.com>2021-05-03 19:49:19 +0200
commite0716384d6c7abfa228b039056f1e872ca7bb8cf (patch)
tree78a6393bdbd7f5ea7e6b67d3b62c10595235949d /src/client/renderingengine.h
parente34d28af9f4b779b7a137f0e4017e499266e1931 (diff)
downloadminetest-e0716384d6c7abfa228b039056f1e872ca7bb8cf.tar.xz
refacto: add RenderingEngine::cleanupMeshCache
This permits to prevent client to own the mesh cache cleanup logic. It's better in RenderingEngine
Diffstat (limited to 'src/client/renderingengine.h')
-rw-r--r--src/client/renderingengine.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/renderingengine.h b/src/client/renderingengine.h
index 5807421ef..fae431f1f 100644
--- a/src/client/renderingengine.h
+++ b/src/client/renderingengine.h
@@ -56,6 +56,7 @@ public:
bool setWindowIcon();
bool setXorgWindowIconFromPath(const std::string &icon_file);
static bool print_video_modes();
+ void cleanupMeshCache();
static RenderingEngine *get_instance() { return s_singleton; }