Changes accidentally omitted from 4022.
git-svn-id: http://skia.googlecode.com/svn/trunk@4023 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/gl/GrGpuGLShaders.cpp b/src/gpu/gl/GrGpuGLShaders.cpp
index 32f021f..30b260b 100644
--- a/src/gpu/gl/GrGpuGLShaders.cpp
+++ b/src/gpu/gl/GrGpuGLShaders.cpp
@@ -613,7 +613,7 @@
} else {
switch (desc.fColorInput) {
case ProgramDesc::kAttribute_ColorInput:
- if (fHWDrawState.getColor() != color) {
+ if (fHWConstAttribColor != color) {
// OpenGL ES only supports the float varieties of
// glVertexAttrib
float c[] = GR_COLOR_TO_VEC4(color);
@@ -663,7 +663,7 @@
} else {
switch (desc.fCoverageInput) {
case ProgramDesc::kAttribute_ColorInput:
- if (fHWDrawState.getCoverage() != coverage) {
+ if (fHWConstAttribCoverage != coverage) {
// OpenGL ES only supports the float varieties of
// glVertexAttrib
float c[] = GR_COLOR_TO_VEC4(coverage);