diff options
Diffstat (limited to 'src/gpu')
-rw-r--r-- | src/gpu/GrRenderTargetOpList.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gpu/GrRenderTargetOpList.cpp b/src/gpu/GrRenderTargetOpList.cpp index 423b71ca10..530f1ae708 100644 --- a/src/gpu/GrRenderTargetOpList.cpp +++ b/src/gpu/GrRenderTargetOpList.cpp @@ -269,7 +269,9 @@ void GrRenderTargetOpList::purgeOpsWithUninstantiatedProxies() { }; for (RecordedOp& recordedOp : fRecordedOps) { hasUninstantiatedProxy = false; - recordedOp.visitProxies(checkInstantiation); + if (recordedOp.fOp) { + recordedOp.visitProxies(checkInstantiation); + } if (hasUninstantiatedProxy) { // When instantiation of the proxy fails we drop the Op recordedOp.deleteOp(fOpMemoryPool.get()); |