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