diff options
Diffstat (limited to 'src/gpu/GrDrawState.h')
-rw-r--r-- | src/gpu/GrDrawState.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrDrawState.h b/src/gpu/GrDrawState.h index dfe0d4b04f..4191c4ab53 100644 --- a/src/gpu/GrDrawState.h +++ b/src/gpu/GrDrawState.h @@ -403,7 +403,7 @@ struct GrDrawState { class AutoRenderTargetRestore : public ::GrNoncopyable { public: - AutoRenderTargetRestore() : fDrawState(NULL) {} + AutoRenderTargetRestore() : fDrawState(NULL), fSavedTarget(NULL) {} AutoRenderTargetRestore(GrDrawState* ds, GrRenderTarget* newTarget) { fDrawState = NULL; this->set(ds, newTarget); |