Skip to content
Permalink
Browse files

- only write the warning if r_multithreaded has its default value

  • Loading branch information...
dpjudas authored and madame-rachelle committed May 9, 2019
1 parent e2fc3f2 commit d3abc71c641c2157ab87c82aff6d6c832d3d086c
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/rendering/swrenderer/scene/r_scene.cpp
@@ -205,7 +205,8 @@ namespace swrenderer
if (firstCall)
{
firstCall = false;
Printf("Warning: Unable to determine number of CPU cores/threads for this computer. To improve performance, please type 'r_multithreaded x' in the console, where x is the number of threads to use.\n");
if (r_multithreaded == 1)
Printf("Warning: Unable to determine number of CPU cores/threads for this computer. To improve performance, please type 'r_multithreaded x' in the console, where x is the number of threads to use.\n");
}

numThreads = 1;

0 comments on commit d3abc71

Please sign in to comment.
You can’t perform that action at this time.