From e0716384d6c7abfa228b039056f1e872ca7bb8cf Mon Sep 17 00:00:00 2001 From: Loic Blot Date: Wed, 28 Apr 2021 10:53:36 +0200 Subject: refacto: add RenderingEngine::cleanupMeshCache This permits to prevent client to own the mesh cache cleanup logic. It's better in RenderingEngine --- src/client/renderingengine.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/client/renderingengine.h') 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; } -- cgit v1.2.3