Cut-and-paste typo was limiting concurrency
NOTREECHECKS=true NOTRY=true NOPRESUBMIT=true Bug: skia: Change-Id: I94065a2c0fdd536016060f906aead0bfb4e1e27b Reviewed-on: https://skia-review.googlesource.com/149245 Reviewed-by: Allan MacKinnon <allanmac@google.com> Commit-Queue: Allan MacKinnon <allanmac@google.com> Auto-Submit: Allan MacKinnon <allanmac@google.com>
This commit is contained in:
parent
49894f450f
commit
4f28d76c01
@ -472,13 +472,13 @@ hs_state_acquire(struct hs_state * const state,
|
||||
*indices |= 1;
|
||||
return 0;
|
||||
}
|
||||
else if (*indices & 2)
|
||||
else if (state->pool & 2)
|
||||
{
|
||||
state->pool &= ~2;
|
||||
*indices |= 2;
|
||||
return 1;
|
||||
}
|
||||
else // if (*indices & 4)
|
||||
else // (state->pool & 4)
|
||||
{
|
||||
state->pool &= ~4;
|
||||
*indices |= 4;
|
||||
|
Loading…
Reference in New Issue
Block a user