Index: src/gpu/GrDrawTarget.cpp |
diff --git a/src/gpu/GrDrawTarget.cpp b/src/gpu/GrDrawTarget.cpp |
index eb8991519dfdc11b608898a5ab335aea0d969fbe..6830b0221098098881085ad480ed93096a32b3d6 100644 |
--- a/src/gpu/GrDrawTarget.cpp |
+++ b/src/gpu/GrDrawTarget.cpp |
@@ -390,7 +390,7 @@ bool GrDrawTarget::checkDraw(GrPrimitiveType type, int startVertex, |
SkASSERT(drawState.getRenderTarget()); |
if (drawState.hasGeometryProcessor()) { |
- const GrGeometryProcessor* gp = drawState.getGeometryProcessor()->getGeometryProcessor(); |
+ const GrGeometryProcessor* gp = drawState.getGeometryProcessor()->getProcessor(); |
bsalomon
2014/09/29 15:43:19
It seems weird that getGeometryProcessor doesn't r
joshua.litt
2014/09/29 21:05:22
Mind if this is a follow up CL, I agree its poorly
|
int numTextures = gp->numTextures(); |
for (int t = 0; t < numTextures; ++t) { |
GrTexture* texture = gp->texture(t); |