diff options
author | 2014-10-10 17:47:00 -0700 | |
---|---|---|
committer | 2014-10-10 17:47:00 -0700 | |
commit | a5305a110ab5201d5dadd40cbe711582d5ac4996 (patch) | |
tree | 239878bf237402e4fb7d88081d4f1289c5824d2e /src/gpu/GrDrawTarget.cpp | |
parent | ba5fb932a1b5666a861043735cfb055cc1b600c7 (diff) |
Opt state takes a GP instead of a GeometryStage
BUG=skia:
Committed: https://skia.googlesource.com/skia/+/71856d520461ae025a0332aa0ce9735a096d9baf
Review URL: https://codereview.chromium.org/637003003
Diffstat (limited to 'src/gpu/GrDrawTarget.cpp')
-rw-r--r-- | src/gpu/GrDrawTarget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrDrawTarget.cpp b/src/gpu/GrDrawTarget.cpp index 7265f4d23a..b144caf63e 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); |