diff options
author | robertphillips <robertphillips@google.com> | 2015-08-25 09:53:10 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-25 09:53:10 -0700 |
commit | 6ec8b7cee7a8016ee8871faab58424ea7786c879 (patch) | |
tree | 35d3c5bbf72eeecbda86ec8ef51a1a6ad3f2acb2 /src/core | |
parent | 7544124fb8ee744f68f549a353f8a9163cd7432d (diff) |
Speculative valgrind fix
I wasn't able to repro locally but it seems like it has to be this.
Review URL: https://codereview.chromium.org/1309653003
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/SkLightingShader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkLightingShader.cpp b/src/core/SkLightingShader.cpp index ce5c0ddb25..3b2e062f37 100644 --- a/src/core/SkLightingShader.cpp +++ b/src/core/SkLightingShader.cpp @@ -168,7 +168,7 @@ public: fLightDir.fX = 10000.0f; fLightColor.fX = 0.0f; fAmbientColor.fX = 0.0f; - fInvNormRotation.fX = 0.0f; + fInvNormRotation.set(0.0f, 0.0f); } void emitCode(EmitArgs& args) override { |