aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/effects/GrSimpleTextureEffect.cpp
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2016-02-04 06:11:53 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-02-04 06:11:53 -0800
commitbf536af15f4c176d3bef65b77b7592718bfd9068 (patch)
tree80457c99422dad84b6444ba1151f6897ab407824 /src/gpu/effects/GrSimpleTextureEffect.cpp
parent29e5a8932d7dae782f2e58d312a038f8888dab30 (diff)
Next round of GrGLSLFragmentProcessor-derived class cleanup
Diffstat (limited to 'src/gpu/effects/GrSimpleTextureEffect.cpp')
-rw-r--r--src/gpu/effects/GrSimpleTextureEffect.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/effects/GrSimpleTextureEffect.cpp b/src/gpu/effects/GrSimpleTextureEffect.cpp
index 6f47b04700..96a53f58b2 100644
--- a/src/gpu/effects/GrSimpleTextureEffect.cpp
+++ b/src/gpu/effects/GrSimpleTextureEffect.cpp
@@ -15,12 +15,12 @@ class GrGLSimpleTextureEffect : public GrGLSLFragmentProcessor {
public:
void emitCode(EmitArgs& args) override {
GrGLSLFragmentBuilder* fragBuilder = args.fFragBuilder;
- fragBuilder->codeAppendf("\t%s = ", args.fOutputColor);
+ fragBuilder->codeAppendf("%s = ", args.fOutputColor);
fragBuilder->appendTextureLookupAndModulate(args.fInputColor,
args.fSamplers[0],
args.fCoords[0].c_str(),
args.fCoords[0].getType());
- fragBuilder->codeAppend(";\n");
+ fragBuilder->codeAppend(";");
}
private: