| Index: cc/output/shader.cc
|
| diff --git a/cc/output/shader.cc b/cc/output/shader.cc
|
| index 3bd260f4a3deee18948fe883f19a62e9ef5b164d..f03c6331e53e7e8ac59f41bb093e20ef6c1c8e8d 100644
|
| --- a/cc/output/shader.cc
|
| +++ b/cc/output/shader.cc
|
| @@ -368,7 +368,7 @@ std::string VertexShader::GetShaderString() const {
|
| DCHECK(use_uniform_arrays_);
|
| HDR("uniform float opacity[NUM_QUADS * 4];");
|
| HDR("varying float v_alpha;");
|
| - SRC("v_alpha = opacity[quad_index];");
|
| + SRC("v_alpha = opacity[vertex_index];");
|
| }
|
|
|
| // Add cargo-culted dummy variables for Android.
|
|
|