| Index: src/gpu/GrResourceCache2.h
|
| diff --git a/src/gpu/GrResourceCache2.h b/src/gpu/GrResourceCache2.h
|
| index 3c5eea5a3f42e58308ffcadf92aa75b5cdc0045f..038e3bc242643caef23f104c67dc54b74c8100f8 100644
|
| --- a/src/gpu/GrResourceCache2.h
|
| +++ b/src/gpu/GrResourceCache2.h
|
| @@ -167,7 +167,7 @@ private:
|
| /// @}
|
|
|
| void purgeAsNeeded() {
|
| - if (fPurging || (fBudgetedCount <= fMaxCount && fBudgetedBytes < fMaxBytes)) {
|
| + if (fPurging || (fBudgetedCount <= fMaxCount && fBudgetedBytes <= fMaxBytes)) {
|
| return;
|
| }
|
| this->internalPurgeAsNeeded();
|
|
|