Index: src/gpu/GrDrawTarget.cpp |
diff --git a/src/gpu/GrDrawTarget.cpp b/src/gpu/GrDrawTarget.cpp |
index 7265f4d23ab0f388e537625880f376032e6f2af3..b144caf63e647e19520515da0816bc7f591d2633 100644 |
--- a/src/gpu/GrDrawTarget.cpp |
+++ b/src/gpu/GrDrawTarget.cpp |
@@ -391,7 +391,7 @@ bool GrDrawTarget::checkDraw(GrPrimitiveType type, int startVertex, |
SkASSERT(drawState.getRenderTarget()); |
if (drawState.hasGeometryProcessor()) { |
- const GrGeometryProcessor* gp = drawState.getGeometryProcessor()->getProcessor(); |
+ const GrGeometryProcessor* gp = drawState.getGeometryProcessor(); |
int numTextures = gp->numTextures(); |
for (int t = 0; t < numTextures; ++t) { |
GrTexture* texture = gp->texture(t); |