Index: src/gpu/GrCommandBuilder.cpp |
diff --git a/src/gpu/GrCommandBuilder.cpp b/src/gpu/GrCommandBuilder.cpp |
index 6b56dea421dec2c8cbb5a68348016d28182e7a72..28c0cf2bdb5f58f466ea932732322c4ba7175f15 100644 |
--- a/src/gpu/GrCommandBuilder.cpp |
+++ b/src/gpu/GrCommandBuilder.cpp |
@@ -33,9 +33,7 @@ GrTargetCommands::Cmd* GrCommandBuilder::recordClear(const SkIRect* rect, |
rect = &r; |
} |
- SkASSERT(color == GrColor_ILLEGAL || |
- canIgnoreRect || |
- (rect->fLeft <= rect->fRight && rect->fTop <= rect->fBottom)); |
+ SkASSERT(canIgnoreRect || (rect->fLeft <= rect->fRight && rect->fTop <= rect->fBottom)); |
Clear* clr = GrNEW_APPEND_TO_RECORDER(*this->cmdBuffer(), Clear, (renderTarget)); |
GrColorIsPMAssert(color); |