aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/effects/GrDisableColorXP.cpp
diff options
context:
space:
mode:
authorGravatar egdaniel <egdaniel@google.com>2015-04-29 11:54:42 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-04-29 11:54:42 -0700
commit29bee0fe657fabf7c396502b69c9167fba13eaaa (patch)
tree40519dbc2f10a16f9c72529a5cf2470d1d15e0b0 /src/gpu/effects/GrDisableColorXP.cpp
parent1d4ec0a1ad4998c32c6a28ff4b85000553ff686d (diff)
Make XPFragmentBuilder only Builder with access to DstCopy.
Plus a bunch of renaming. BUG=skia: Review URL: https://codereview.chromium.org/1110033004
Diffstat (limited to 'src/gpu/effects/GrDisableColorXP.cpp')
-rw-r--r--src/gpu/effects/GrDisableColorXP.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/effects/GrDisableColorXP.cpp b/src/gpu/effects/GrDisableColorXP.cpp
index da84be1b1a..261100deb9 100644
--- a/src/gpu/effects/GrDisableColorXP.cpp
+++ b/src/gpu/effects/GrDisableColorXP.cpp
@@ -66,7 +66,7 @@ private:
// This emit code should be empty. However, on the nexus 6 there is a driver bug where if
// you do not give gl_FragColor a value, the gl context is lost and we end up drawing
// nothing. So this fix just sets the gl_FragColor arbitrarily to 0.
- GrGLFPFragmentBuilder* fsBuilder = args.fPB->getFragmentShaderBuilder();
+ GrGLXPFragmentBuilder* fsBuilder = args.fPB->getFragmentShaderBuilder();
fsBuilder->codeAppendf("%s = vec4(0);", args.fOutputPrimary);
}