projects
/
platform
/
upstream
/
libSkiaSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7544124
)
Speculative valgrind fix
author
robertphillips
<robertphillips@google.com>
Tue, 25 Aug 2015 16:53:10 +0000
(09:53 -0700)
committer
Commit bot
<commit-bot@chromium.org>
Tue, 25 Aug 2015 16:53:10 +0000
(09:53 -0700)
I wasn't able to repro locally but it seems like it has to be this.
Review URL: https://codereview.chromium.org/
1309653003
src/core/SkLightingShader.cpp
patch
|
blob
|
history
diff --git
a/src/core/SkLightingShader.cpp
b/src/core/SkLightingShader.cpp
index
ce5c0dd
..
3b2e062
100644
(file)
--- 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 {