Index: gpu/command_buffer/common/gles2_cmd_format_autogen.h |
diff --git a/gpu/command_buffer/common/gles2_cmd_format_autogen.h b/gpu/command_buffer/common/gles2_cmd_format_autogen.h |
index 41b37ce016cca860d0c1c59d09eeea5a321fc695..df2c7b2640fe253679bf30869ecfe9ac63831713 100644 |
--- a/gpu/command_buffer/common/gles2_cmd_format_autogen.h |
+++ b/gpu/command_buffer/common/gles2_cmd_format_autogen.h |
@@ -15457,18 +15457,20 @@ |
void SetHeader() { header.SetCmdByTotalSize<ValueType>(ComputeSize()); } |
- void Init(GLint _location, GLboolean _transpose, const GLfloat* _transform) { |
+ void Init(GLint _location, |
+ GLboolean _transpose, |
+ const GLfloat* _default_value) { |
SetHeader(); |
location = _location; |
transpose = _transpose; |
- memcpy(ImmediateDataAddress(this), _transform, ComputeDataSize()); |
+ memcpy(ImmediateDataAddress(this), _default_value, ComputeDataSize()); |
} |
void* Set(void* cmd, |
GLint _location, |
GLboolean _transpose, |
- const GLfloat* _transform) { |
- static_cast<ValueType*>(cmd)->Init(_location, _transpose, _transform); |
+ const GLfloat* _default_value) { |
+ static_cast<ValueType*>(cmd)->Init(_location, _transpose, _default_value); |
const uint32_t size = ComputeSize(); |
return NextImmediateCmdAddressTotalSize<ValueType>(cmd, size); |
} |