diff options
Diffstat (limited to 'src/gpu')
-rw-r--r-- | src/gpu/GrDrawingManager.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gpu/GrDrawingManager.cpp b/src/gpu/GrDrawingManager.cpp index 4391117248..158239e460 100644 --- a/src/gpu/GrDrawingManager.cpp +++ b/src/gpu/GrDrawingManager.cpp @@ -213,7 +213,9 @@ GrSemaphoresSubmitted GrDrawingManager::internalFlush(GrSurfaceProxy*, &error)) { if (GrResourceAllocator::AssignError::kFailedProxyInstantiation == error) { for (int i = startIndex; i < stopIndex; ++i) { - fOpLists[i]->purgeOpsWithUninstantiatedProxies(); + if (fOpLists[i]) { + fOpLists[i]->purgeOpsWithUninstantiatedProxies(); + } } } |