| Index: cc/output/shader.cc
|
| diff --git a/cc/output/shader.cc b/cc/output/shader.cc
|
| index 7b46db25b395346b0755857700fd572cc53bd41e..dc88969a67d8030db20ad697fa48a486105e8757 100644
|
| --- a/cc/output/shader.cc
|
| +++ b/cc/output/shader.cc
|
| @@ -373,7 +373,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.
|
|
|