From 366d1637cea24abba922f05fd29c39d8d50d57ed Mon Sep 17 00:00:00 2001 From: Magnus Norddahl Date: Wed, 15 Mar 2017 03:01:43 +0100 Subject: [PATCH] - enable r_scene_multithreaded --- src/swrenderer/scene/r_scene.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/swrenderer/scene/r_scene.cpp b/src/swrenderer/scene/r_scene.cpp index 75460218d..7ed3c0407 100644 --- a/src/swrenderer/scene/r_scene.cpp +++ b/src/swrenderer/scene/r_scene.cpp @@ -53,7 +53,7 @@ EXTERN_CVAR(Bool, r_shadercolormaps) EXTERN_CVAR(Int, r_clearbuffer) -CVAR(Bool, r_scene_multithreaded, false, 0); +CVAR(Bool, r_scene_multithreaded, true, 0); namespace swrenderer { @@ -172,7 +172,7 @@ namespace swrenderer if (numThreads == 0) numThreads = 4; - if (!r_scene_multithreaded) + if (!r_scene_multithreaded || !r_multithreaded) numThreads = 1; if (numThreads != (int)Threads.size())