mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-25 13:41:05 +00:00
- enable r_scene_multithreaded
This commit is contained in:
parent
80f9c81e36
commit
366d1637ce
1 changed files with 2 additions and 2 deletions
|
@ -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())
|
||||
|
|
Loading…
Reference in a new issue