| Index: src/gpu/GrContext.cpp
|
| diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp
|
| index 322ea87dcb88017904d13777aebbeb6d4535230a..91af9a16b8106d72b0a56face453d0a12aae21a2 100755
|
| --- a/src/gpu/GrContext.cpp
|
| +++ b/src/gpu/GrContext.cpp
|
| @@ -1738,7 +1738,8 @@ GrDrawTarget* GrContext::prepareToDraw(const GrPaint* paint,
|
| AutoCheckFlush* acf) {
|
| // All users of this draw state should be freeing up all effects when they're done.
|
| // Otherwise effects that own resources may keep those resources alive indefinitely.
|
| - SkASSERT(0 == fDrawState->numColorStages() && 0 == fDrawState->numCoverageStages());
|
| + SkASSERT(0 == fDrawState->numColorStages() && 0 == fDrawState->numCoverageStages() &&
|
| + !fDrawState->getGeometryProcessor());
|
|
|
| if (NULL == fGpu) {
|
| return NULL;
|
|
|