Index: src/gpu/GrAARectRenderer.cpp |
diff --git a/src/gpu/GrAARectRenderer.cpp b/src/gpu/GrAARectRenderer.cpp |
index 48692ebf5e6fffdce087cc3aa7823fc5293b78c3..420c9e7c5a409f2de6f9a82962080d052afa864f 100644 |
--- a/src/gpu/GrAARectRenderer.cpp |
+++ b/src/gpu/GrAARectRenderer.cpp |
@@ -208,10 +208,7 @@ private: |
return false; |
} |
- if (this->usesLocalCoords() != that->usesLocalCoords()) { |
- return false; |
- } |
- |
+ SkASSERT(this->usesLocalCoords() == that->usesLocalCoords()); |
// We apply the viewmatrix to the rect points on the cpu. However, if the pipeline uses |
// local coords then we won't be able to batch. We could actually upload the viewmatrix |
// using vertex attributes in these cases, but haven't investigated that |