Skip to content

Commit

Permalink
Minor clarity (and somrething to rerun Appveyor)
Browse files Browse the repository at this point in the history
  • Loading branch information
cwoffenden committed Oct 5, 2021
1 parent 847d364 commit 11d076e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion encoder/basisu_enc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1667,7 +1667,8 @@ namespace basisu
WORD const numGroups = GetActiveProcessorGroupCount();
if (numGroups > 1) {
GROUP_AFFINITY affinity;
for (size_t index = 0; index < threads;) {
size_t index = 0;
while (index < threads) {
for (WORD group = 0; group < numGroups; ++group) {
if (DWORD groupCpus = GetMaximumProcessorCount(group)) {
for (; groupCpus > 0; --groupCpus) {
Expand Down

0 comments on commit 11d076e

Please sign in to comment.