commit | f66018798099750e639a8fa131fece492a050997 | [log] [tgz] |
---|---|---|
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue Aug 28 21:11:35 2012 +0000 |
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue Aug 28 21:11:35 2012 +0000 |
tree | 4238c882198f2050a2e2ab270ae0c89dc1d49ed0 | |
parent | a7e483d130a65833e4c0d4abb4c2f13a9ce7703b [diff] [blame] |
Hide GrDrawTarget::Caps's member vars Review URL: https://codereview.appspot.com/6499044 git-svn-id: http://skia.googlecode.com/svn/trunk@5328 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/gl/GrGpuGL_program.cpp b/src/gpu/gl/GrGpuGL_program.cpp index 174f5cb..7e62f93 100644 --- a/src/gpu/gl/GrGpuGL_program.cpp +++ b/src/gpu/gl/GrGpuGL_program.cpp
@@ -774,7 +774,7 @@ desc->fFirstCoverageStage = firstCoverageStage; } - if (this->getCaps().fDualSourceBlendingSupport && + if (this->getCaps().dualSourceBlendingSupport() && !(blendOpts & (kEmitCoverage_BlendOptFlag | kCoverageAsAlpha_BlendOptFlag))) { if (kZero_GrBlendCoeff == dstCoeff) { // write the coverage value to second color