| Index: gpu/command_buffer/service/gles2_cmd_decoder.cc
|
| diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.cc b/gpu/command_buffer/service/gles2_cmd_decoder.cc
|
| index 6df7f6a2f816a89bb6e37149101e0a60c27a2da4..dbc88d16854b21cafcea3ba795a79c079dde807a 100644
|
| --- a/gpu/command_buffer/service/gles2_cmd_decoder.cc
|
| +++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc
|
| @@ -10047,6 +10047,9 @@ error::Error GLES2DecoderImpl::HandleVertexAttribDivisorANGLE(
|
| state_.vertex_attrib_manager->SetDivisor(
|
| index,
|
| divisor);
|
| + if (state_.current_program.get()) {
|
| + state_.current_program->SaveAttribDivisor(index, divisor);
|
| + }
|
| glVertexAttribDivisorANGLE(index, divisor);
|
| return error::kNoError;
|
| }
|
|
|