move thread 1/4 count computation into allocate workers method
This commit is contained in:
parent
3fa34fa7bf
commit
b467d4dbd0
4 changed files with 14 additions and 23 deletions
|
@ -62,7 +62,7 @@ public:
|
|||
~AsyncShaders();
|
||||
|
||||
/// Start up shader worker threads
|
||||
void AllocateWorkers(std::size_t num_workers);
|
||||
void AllocateWorkers();
|
||||
|
||||
/// Clear the shader queue and kill all worker threads
|
||||
void FreeWorkers();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue