From 703004f830f39adcde9b9565f1aa49d1b10e8d27 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Mon, 16 Jun 2014 10:22:26 -0300 Subject: More 3D Work -=-=-=-=-=- -ESM Shadow Mapping for softer and less glitchy shadows -HDR Pipeline (convert to Linear on texture import, convert to SRGB at the end) -Fix to xml parse bug --- servers/visual/visual_server_wrap_mt.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'servers/visual/visual_server_wrap_mt.cpp') diff --git a/servers/visual/visual_server_wrap_mt.cpp b/servers/visual/visual_server_wrap_mt.cpp index 919656fe04..62f18b9e81 100644 --- a/servers/visual/visual_server_wrap_mt.cpp +++ b/servers/visual/visual_server_wrap_mt.cpp @@ -165,6 +165,7 @@ void VisualServerWrapMT::finish() { texture_free_cached_ids(); + mesh_free_cached_ids(); thread=NULL; } else { @@ -187,6 +188,7 @@ VisualServerWrapMT::VisualServerWrapMT(VisualServer* p_contained,bool p_create_t draw_thread_up=false; alloc_mutex=Mutex::create(); texture_pool_max_size=GLOBAL_DEF("render/thread_textures_prealloc",20); + mesh_pool_max_size=GLOBAL_DEF("render/thread_meshes_prealloc",20); if (!p_create_thread) { server_thread=Thread::get_caller_ID(); } else { -- cgit v1.2.3