aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-01-24 18:28:51 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-01-24 18:28:51 +0000
commitdcd69bfca1d8e85ef5abc4e54f1e4b820d38e428 (patch)
tree5e3456f6d5b8648271097e29b409f5aeaed9b7a4
parent72aa79cfea66d0311fe73f7b96dcda99cd168377 (diff)
Fix logic bug introduced in r7346.
git-svn-id: http://skia.googlecode.com/svn/trunk@7373 2bbb7eff-a529-9590-31e7-b0007b416f81
-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 820f79a6de..ba9eb217d6 100644
--- a/src/gpu/GrDrawState.h
+++ b/src/gpu/GrDrawState.h
@@ -959,7 +959,7 @@ public:
return false;
}
for (int i = 0; i < kNumStages; ++i) {
- if (fStages[i].isEqual(state.fStages[i])) {
+ if (!fStages[i].isEqual(state.fStages[i])) {
return false;
}
}