1
1
Fork 0
forked from suyu/suyu

Morph: Update worker allocation comment

Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com>
This commit is contained in:
Ameer J 2020-08-05 16:41:22 -04:00 committed by ameerj
parent 1b829fbd7a
commit f49ffdd648

View file

@ -29,7 +29,7 @@ void AsyncShaders::AllocateWorkers() {
// Don't use more than MAX_THREADS
const auto num_workers = std::min(max_worker_count, MAX_THREADS);
// If we're already have workers queued or don't want to queue workers, ignore
// If we already have workers queued, ignore
if (num_workers == worker_threads.size()) {
return;
}