| Index: gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers_autogen.cc
|
| diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers_autogen.cc b/gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers_autogen.cc
|
| index 9e6c461650cbbfca311879615036975c7e654ddf..7a5a92da7a5140b8cbb6d679c91da95f0ec1f6df 100644
|
| --- a/gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers_autogen.cc
|
| +++ b/gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers_autogen.cc
|
| @@ -3676,6 +3676,7 @@ error::Error GLES2DecoderPassthroughImpl::HandleCopyTextureCHROMIUM(
|
| const volatile void* cmd_data) {
|
| const volatile gles2::cmds::CopyTextureCHROMIUM& c =
|
| *static_cast<const volatile gles2::cmds::CopyTextureCHROMIUM*>(cmd_data);
|
| + GLenum target = static_cast<GLenum>(c.target);
|
| GLenum source_id = static_cast<GLenum>(c.source_id);
|
| GLint source_level = static_cast<GLint>(c.source_level);
|
| GLenum dest_id = static_cast<GLenum>(c.dest_id);
|
| @@ -3688,8 +3689,9 @@ error::Error GLES2DecoderPassthroughImpl::HandleCopyTextureCHROMIUM(
|
| GLboolean unpack_unmultiply_alpha =
|
| static_cast<GLboolean>(c.unpack_unmultiply_alpha);
|
| error::Error error = DoCopyTextureCHROMIUM(
|
| - source_id, source_level, dest_id, dest_level, internalformat, dest_type,
|
| - unpack_flip_y, unpack_premultiply_alpha, unpack_unmultiply_alpha);
|
| + target, source_id, source_level, dest_id, dest_level, internalformat,
|
| + dest_type, unpack_flip_y, unpack_premultiply_alpha,
|
| + unpack_unmultiply_alpha);
|
| if (error != error::kNoError) {
|
| return error;
|
| }
|
| @@ -3702,6 +3704,7 @@ error::Error GLES2DecoderPassthroughImpl::HandleCopySubTextureCHROMIUM(
|
| const volatile gles2::cmds::CopySubTextureCHROMIUM& c =
|
| *static_cast<const volatile gles2::cmds::CopySubTextureCHROMIUM*>(
|
| cmd_data);
|
| + GLenum target = static_cast<GLenum>(c.target);
|
| GLenum source_id = static_cast<GLenum>(c.source_id);
|
| GLint source_level = static_cast<GLint>(c.source_level);
|
| GLenum dest_id = static_cast<GLenum>(c.dest_id);
|
| @@ -3718,8 +3721,8 @@ error::Error GLES2DecoderPassthroughImpl::HandleCopySubTextureCHROMIUM(
|
| GLboolean unpack_unmultiply_alpha =
|
| static_cast<GLboolean>(c.unpack_unmultiply_alpha);
|
| error::Error error = DoCopySubTextureCHROMIUM(
|
| - source_id, source_level, dest_id, dest_level, xoffset, yoffset, x, y,
|
| - width, height, unpack_flip_y, unpack_premultiply_alpha,
|
| + target, source_id, source_level, dest_id, dest_level, xoffset, yoffset, x,
|
| + y, width, height, unpack_flip_y, unpack_premultiply_alpha,
|
| unpack_unmultiply_alpha);
|
| if (error != error::kNoError) {
|
| return error;
|
|
|