diff options
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-05-12 20:34:19 +0000 |
---|---|---|
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-05-12 20:34:19 +0000 |
commit | 12ad3aa49b8fae2a09a668414b0b908baf47c846 (patch) | |
tree | fff5fabd908eaf266e0b7aa9dd568e56ed066b40 /gpu | |
parent | 5d7574099b21192ac9f0e271f481d380f7408e51 (diff) |
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
Diffstat (limited to 'gpu')
-rw-r--r-- | gpu/src/GrDrawTarget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gpu/src/GrDrawTarget.cpp b/gpu/src/GrDrawTarget.cpp index 5e515137dc..518b4eed6d 100644 --- a/gpu/src/GrDrawTarget.cpp +++ b/gpu/src/GrDrawTarget.cpp @@ -479,7 +479,7 @@ void GrDrawTarget::setIndexSourceToBuffer(const GrIndexBuffer* buffer) { 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; } |