move thread 1/4 count computation into allocate workers method

This commit is contained in:
ameerj 2020-08-05 12:53:26 -04:00
parent 3fa34fa7bf
commit b467d4dbd0
4 changed files with 14 additions and 23 deletions

View file

@ -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();