mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
refacto: add RenderingEngine::cleanupMeshCache
This permits to prevent client to own the mesh cache cleanup logic. It's better in RenderingEngine
This commit is contained in:
parent
e34d28af9f
commit
e0716384d6
3 changed files with 11 additions and 6 deletions
|
@ -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; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue