Fix copy/paste error in GrDrawTarget::AutoStateRestore::set
Review URL: http://codereview.appspot.com/4639063/ git-svn-id: http://skia.googlecode.com/svn/trunk@1670 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
e1bc274295
commit
d19aa27e03
@ -867,7 +867,7 @@ void GrDrawTarget::AutoStateRestore::set(GrDrawTarget* target) {
|
||||
fDrawTarget->restoreDrawState(fDrawState);
|
||||
}
|
||||
if (NULL != target) {
|
||||
fDrawTarget->saveCurrentDrawState(&fDrawState);
|
||||
target->saveCurrentDrawState(&fDrawState);
|
||||
}
|
||||
fDrawTarget = target;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user