Remove repeated conditional in TextureOp.

Change-Id: I57ef380202183580a953dec2617c8210ccab8927
Reviewed-on: https://skia-review.googlesource.com/45160
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
This commit is contained in:
Brian Salomon 2017-09-11 12:39:26 -07:00 committed by Skia Commit-Bot
parent 5b5f096a03
commit 3261eb219f

View File

@ -341,8 +341,6 @@ private:
SkDebugf("Could not allocate quad indices\n");
return;
}
}
if (fDraws.count() > 1) {
if (1 == fProxyCnt) {
SkASSERT(gp->getVertexStride() == sizeof(TextureGeometryProcessor::Vertex));
for (int i = 0; i < fDraws.count(); ++i) {