commit | b8670998a59d305cd22a3c0cbdc6e075b0a37a6e | [log] [tgz] |
---|---|---|
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed Jul 25 21:27:09 2012 +0000 |
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed Jul 25 21:27:09 2012 +0000 |
tree | 76791b806a3a6608e5a5735150c0535dc50a872a | |
parent | cc90505674cd845fcbebd7e0654c3ff04a2e4f25 [diff] [blame] |
Move filter/wrap out of GrSamplerState into GrTextureParams Review URL: http://codereview.appspot.com/6440046/ git-svn-id: http://skia.googlecode.com/svn/trunk@4773 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/effects/GrGradientEffects.cpp b/src/gpu/effects/GrGradientEffects.cpp index 375b783..9c186e2 100644 --- a/src/gpu/effects/GrGradientEffects.cpp +++ b/src/gpu/effects/GrGradientEffects.cpp
@@ -66,7 +66,7 @@ shader.asABitmap(&bitmap, NULL, NULL); GrContext::TextureCacheEntry entry = GrLockCachedBitmapTexture(ctx, bitmap, - sampler); + sampler->textureParams()); fTexture = entry.texture(); SkSafeRef(fTexture); fUseTexture = true;