commit | 12ad3aa49b8fae2a09a668414b0b908baf47c846 | [log] [tgz] |
---|---|---|
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu May 12 20:34:19 2011 +0000 |
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu May 12 20:34:19 2011 +0000 |
tree | fff5fabd908eaf266e0b7aa9dd568e56ed066b40 | |
parent | 5d7574099b21192ac9f0e271f481d380f7408e51 [diff] [blame] |
Disable blend for edge AA not general AA Review URL: http://codereview.appspot.com/4526051/ git-svn-id: http://skia.googlecode.com/svn/trunk@1316 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gpu/src/GrDrawTarget.cpp b/gpu/src/GrDrawTarget.cpp index 5e51513..518b4ee 100644 --- a/gpu/src/GrDrawTarget.cpp +++ b/gpu/src/GrDrawTarget.cpp
@@ -479,7 +479,7 @@ bool GrDrawTarget::canDisableBlend() const { // If we're using edge antialiasing, we can't force blend off. - if (fCurrDrawState.fFlagBits & kAntialias_StateBit) { + if (fCurrDrawState.fFlagBits & kEdgeAA_StateBit) { return false; }