aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrDrawState.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/GrDrawState.h')
-rw-r--r--src/gpu/GrDrawState.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrDrawState.h b/src/gpu/GrDrawState.h
index 4ae2c473ce..3f372973ab 100644
--- a/src/gpu/GrDrawState.h
+++ b/src/gpu/GrDrawState.h
@@ -423,7 +423,7 @@ public:
*/
class AutoColorRestore : public ::GrNoncopyable {
public:
- AutoColorRestore() : fDrawState(NULL) {}
+ AutoColorRestore() : fDrawState(NULL), fOldColor(0) {}
AutoColorRestore(GrDrawState* drawState, GrColor color) {
fDrawState = NULL;