Index: src/gpu/gl/GrGpuGL_program.cpp |
diff --git a/src/gpu/gl/GrGpuGL_program.cpp b/src/gpu/gl/GrGpuGL_program.cpp |
index 50ecf0b3322d4a8b03280504e5fc1e03e868f1c7..10f10393e3b0f5310400b3e0b8238d4f5b4bdda4 100644 |
--- a/src/gpu/gl/GrGpuGL_program.cpp |
+++ b/src/gpu/gl/GrGpuGL_program.cpp |
@@ -251,7 +251,8 @@ bool GrGpuGL::flushGraphicsState(DrawType type, const GrDeviceCoordTexture* dstC |
return false; |
} |
- SkASSERT(kDrawPath_DrawType != type || !fCurrentProgram->hasVertexShader()); |
+ SkASSERT((kDrawPath_DrawType != type && kDrawPaths_DrawType != type) |
+ || !fCurrentProgram->hasVertexShader()); |
fCurrentProgram.get()->ref(); |