mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-01-19 08:01:50 +00:00
- only write the warning if r_multithreaded has its default value
This commit is contained in:
parent
7727263599
commit
d0c4f28162
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue