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:
da3124d
)
fix for valgrind uninit variables
author
joshualitt
<joshualitt@chromium.org>
Wed, 10 Dec 2014 20:28:08 +0000
(12:28 -0800)
committer
Commit bot
<commit-bot@chromium.org>
Wed, 10 Dec 2014 20:28:08 +0000
(12:28 -0800)
TBR=bsalomon@google.com
BUG=skia:
Review URL: https://codereview.chromium.org/
793773002
src/gpu/GrDrawState.cpp
patch
|
blob
|
history
diff --git
a/src/gpu/GrDrawState.cpp
b/src/gpu/GrDrawState.cpp
index
a91a43c
..
465c10c
100644
(file)
--- a/
src/gpu/GrDrawState.cpp
+++ b/
src/gpu/GrDrawState.cpp
@@
-117,6
+117,9
@@
void GrDrawState::onReset(const SkMatrix* initialViewMatrix) {
fColorProcInfoValid = false;
fCoverageProcInfoValid = false;
+
+ fColorCache = GrColor_ILLEGAL;
+ fCoverageCache = GrColor_ILLEGAL;
}
bool GrDrawState::setIdentityViewMatrix() {