| Index: gpu/command_buffer/service/gles2_cmd_decoder.cc
|
| ===================================================================
|
| --- gpu/command_buffer/service/gles2_cmd_decoder.cc (revision 35582)
|
| +++ gpu/command_buffer/service/gles2_cmd_decoder.cc (working copy)
|
| @@ -1217,7 +1217,7 @@
|
| program, ii, max_len + 1, &length, &size, &type, name_buffer.get());
|
| // TODO(gman): Should we check for error?
|
| GLint location = glGetAttribLocation(program, name_buffer.get());
|
| - info->SetAttributeLocation(ii, num_attribs);
|
| + info->SetAttributeLocation(ii, location);
|
| }
|
| }
|
|
|
|
|