diff options
Diffstat (limited to 'src/gpu/GrDrawState.h')
-rw-r--r-- | src/gpu/GrDrawState.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/GrDrawState.h b/src/gpu/GrDrawState.h index e3121eadb5..6951d46e1d 100644 --- a/src/gpu/GrDrawState.h +++ b/src/gpu/GrDrawState.h @@ -196,14 +196,14 @@ public: } void createTextureEffect(int stage, GrTexture* texture, const GrMatrix& matrix) { GrAssert(!this->getSampler(stage).getCustomStage()); - GrCustomStage* customStage = SkNEW_ARGS(GrSingleTextureEffect, (texture)); + GrEffect* customStage = SkNEW_ARGS(GrSingleTextureEffect, (texture)); this->sampler(stage)->setCustomStage(customStage, matrix)->unref(); } void createTextureEffect(int stage, GrTexture* texture, const GrMatrix& matrix, const GrTextureParams& params) { GrAssert(!this->getSampler(stage).getCustomStage()); - GrCustomStage* customStage = SkNEW_ARGS(GrSingleTextureEffect, (texture, params)); + GrEffect* customStage = SkNEW_ARGS(GrSingleTextureEffect, (texture, params)); this->sampler(stage)->setCustomStage(customStage, matrix)->unref(); } |