aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoregdaniel <egdaniel@google.com>2014-09-23 08:14:13 -0700
committerCommit bot <commit-bot@chromium.org>2014-09-23 08:14:13 -0700
commit033ea7f2ad65e567d1812546ef60e55a54ac88df (patch)
treecbf846be268cb687c25cd18af7572f88c4a1c7f2
parentf23809101e2467cb509ddc6ad4de50017c0a2094 (diff)
downloadskia-033ea7f2ad65e567d1812546ef60e55a54ac88df.tar.gz
Fix inputCoverageIsUsed bug in GrGLProgramDesc
BUG=skia: R=joshualitt@chromium.org Author: egdaniel@google.com Review URL: https://codereview.chromium.org/593803003
-rw-r--r--src/gpu/gl/GrGLProgramDesc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/gl/GrGLProgramDesc.cpp b/src/gpu/gl/GrGLProgramDesc.cpp
index 5339937c1..c356a8c6c 100644
--- a/src/gpu/gl/GrGLProgramDesc.cpp
+++ b/src/gpu/gl/GrGLProgramDesc.cpp
@@ -173,7 +173,7 @@ bool GrGLProgramDesc::Build(const GrOptDrawState& optState,
coverageStages->reset();
bool inputColorIsUsed = optState.inputColorIsUsed();
- bool inputCoverageIsUsed = optState.inputColorIsUsed();
+ bool inputCoverageIsUsed = optState.inputCoverageIsUsed();
// The descriptor is used as a cache key. Thus when a field of the
// descriptor will not affect program generation (because of the attribute