aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/yuvtorgbeffect.cpp
diff options
context:
space:
mode:
authorGravatar joshualitt <joshualitt@chromium.org>2014-09-15 11:41:13 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-09-15 11:41:14 -0700
commit249af15fb82833d2274850c589812b6e69df0033 (patch)
treeee8ef724d051c484f8b41a5e28a3256a9cfc438c /gm/yuvtorgbeffect.cpp
parentc90e0149ec530075cae7bf51072a16628311855e (diff)
BUG=skia:
R=bsalomon@google.com, egdaniel@google.com, jvanverth@google.com, robertphillips@google.com Author: joshualitt@chromium.org Review URL: https://codereview.chromium.org/543623004
Diffstat (limited to 'gm/yuvtorgbeffect.cpp')
-rw-r--r--gm/yuvtorgbeffect.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/yuvtorgbeffect.cpp b/gm/yuvtorgbeffect.cpp
index acb6f2251b..d0b511f735 100644
--- a/gm/yuvtorgbeffect.cpp
+++ b/gm/yuvtorgbeffect.cpp
@@ -118,7 +118,7 @@ protected:
drawState->reset(viewMatrix);
drawState->setRenderTarget(rt);
drawState->setColor(0xffffffff);
- drawState->addColorEffect(effect, 1);
+ drawState->addColorEffect(effect);
tt.target()->drawSimpleRect(renderRect);
}
x += renderRect.width() + kTestPad;