1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-09-15 18:57:08 +00:00

Remove unused meshgen_block_cache_size setting

This commit is contained in:
Lars 2024-01-18 19:21:34 -08:00 committed by sfan5
parent f08e4bb27d
commit 7c9706fdcf
4 changed files with 0 additions and 8 deletions

View file

@ -54,7 +54,6 @@ MeshUpdateQueue::MeshUpdateQueue(Client *client):
{
m_cache_enable_shaders = g_settings->getBool("enable_shaders");
m_cache_smooth_lighting = g_settings->getBool("smooth_lighting");
m_meshgen_block_cache_size = g_settings->getS32("meshgen_block_cache_size");
}
MeshUpdateQueue::~MeshUpdateQueue()

View file

@ -87,7 +87,6 @@ private:
// TODO: Add callback to update these when g_settings changes
bool m_cache_enable_shaders;
bool m_cache_smooth_lighting;
int m_meshgen_block_cache_size;
void fillDataFromMapBlocks(QueuedMeshUpdate *q);
void cleanupCache();

View file

@ -46,7 +46,6 @@ void set_default_settings()
settings->setDefault("enable_mesh_cache", "false");
settings->setDefault("mesh_generation_interval", "0");
settings->setDefault("mesh_generation_threads", "0");
settings->setDefault("meshgen_block_cache_size", "20");
settings->setDefault("enable_vbo", "true");
settings->setDefault("free_move", "false");
settings->setDefault("pitch_move", "false");