Index: src/gpu/GrDrawState.h |
=================================================================== |
--- src/gpu/GrDrawState.h (revision 7988) |
+++ src/gpu/GrDrawState.h (working copy) |
@@ -423,7 +423,7 @@ |
*/ |
class AutoColorRestore : public ::GrNoncopyable { |
public: |
- AutoColorRestore() : fDrawState(NULL) {} |
+ AutoColorRestore() : fDrawState(NULL), fOldColor(0) {} |
sugoi
2013/03/05 20:16:45
Added this to remove the warning about "fOldColor"
bsalomon
2013/03/05 20:19:20
I've been avoiding doing this because the warning
|
AutoColorRestore(GrDrawState* drawState, GrColor color) { |
fDrawState = NULL; |