diff options
Diffstat (limited to 'src/gpu/SkGpuDevice.cpp')
-rw-r--r-- | src/gpu/SkGpuDevice.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp index 18f2ff52f2..32d5883edd 100644 --- a/src/gpu/SkGpuDevice.cpp +++ b/src/gpu/SkGpuDevice.cpp @@ -514,9 +514,6 @@ inline bool skPaint2GrPaintNoShader(SkGpuDevice* dev, GrSamplerState* colorSampler = grPaint->textureSampler(kColorFilterTextureIdx); GrTexture* texture = act->set(dev, colorTransformTable, colorSampler); - // reset() sets the sampler's matrix to I. The custom stage doesn't require the matrix. - // The shader generator will omit the matrix if it is I. Once the matrix is moved from the - // sampler state to the custom stage this will no longer be necessary. colorSampler->reset(GrSamplerState::kClamp_WrapMode, GrSamplerState::kNearest_Filter); colorSampler->setCustomStage(SkNEW_ARGS(GrColorTableEffect, (texture)))->unref(); } else { |