| Index: mojo/gles2/command_buffer_client_impl.cc
|
| diff --git a/mojo/gles2/command_buffer_client_impl.cc b/mojo/gles2/command_buffer_client_impl.cc
|
| index 314efb3bdd740773a1d15a42d53eb47ce534abaa..4c828e21dfcdd9bd6f0916e61e005388ee1db465 100644
|
| --- a/mojo/gles2/command_buffer_client_impl.cc
|
| +++ b/mojo/gles2/command_buffer_client_impl.cc
|
| @@ -284,12 +284,9 @@ int32_t CommandBufferClientImpl::CreateImage(ClientBuffer buffer,
|
| }
|
| mojo::ScopedHandle scoped_handle;
|
| scoped_handle.reset(mojo::Handle(mojo_handle));
|
| - command_buffer_->CreateImage(new_id,
|
| - scoped_handle.Pass(),
|
| - handle.type,
|
| - size.Pass(),
|
| - gpu_memory_buffer->GetFormat(),
|
| - internalformat);
|
| + command_buffer_->CreateImage(
|
| + new_id, scoped_handle.Pass(), handle.type, size.Pass(),
|
| + static_cast<int32_t>(gpu_memory_buffer->GetFormat()), internalformat);
|
| if (requires_sync_point) {
|
| NOTIMPLEMENTED();
|
| // TODO(jam): need to support this if we support types other than
|
|
|