aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu
diff options
context:
space:
mode:
authorGravatar egdaniel <egdaniel@google.com>2014-08-27 12:23:23 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-08-27 12:23:23 -0700
commit85f94844fc31eddee9cb507377cb3f74c1ed34f2 (patch)
treef18bb359a64c536567cf0b442bc179ffe7d7d477 /src/gpu
parentaf013bf8afc4c77ab8ff230f536e2ade973427fa (diff)
Possible fix to Restore text vertex buffer alloc and other optimizations.
NOTRY=True NOTREECHECKS=True R=jvanverth@google.com TBR=jvanverth@google.com BUG=skia: Author: egdaniel@google.com Review URL: https://codereview.chromium.org/513863004
Diffstat (limited to 'src/gpu')
-rwxr-xr-xsrc/gpu/GrDistanceFieldTextContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrDistanceFieldTextContext.cpp b/src/gpu/GrDistanceFieldTextContext.cpp
index 6c51d01421..91513c4296 100755
--- a/src/gpu/GrDistanceFieldTextContext.cpp
+++ b/src/gpu/GrDistanceFieldTextContext.cpp
@@ -159,7 +159,7 @@ void GrDistanceFieldTextContext::setupCoverageEffect(const SkColor& filteredColo
lum/255.f,
flags));
#else
- fCachedEffect.reset(GrDistanceFieldTextureEffect::Create(fCurrTexture,
+ fCachedEffect.reset(GrDistanceFieldTextureEffect::Create(currTexture,
params, flags));
#endif
}