| Index: gpu/ipc/service/stream_texture_android.cc
|
| diff --git a/gpu/ipc/service/stream_texture_android.cc b/gpu/ipc/service/stream_texture_android.cc
|
| index 684099330ff20a4f94782496c0d9adccec0fc3dc..32ea9051edfd95bc6f4d76bf22a5b333cc5d8085 100644
|
| --- a/gpu/ipc/service/stream_texture_android.cc
|
| +++ b/gpu/ipc/service/stream_texture_android.cc
|
| @@ -50,7 +50,7 @@ bool StreamTexture::Create(GpuCommandBufferStub* owner_stub,
|
| size.width(), size.height(), 1, 0, GL_RGBA,
|
| GL_UNSIGNED_BYTE, gfx::Rect(size));
|
| texture_manager->SetLevelStreamTextureImage(
|
| - texture, GL_TEXTURE_EXTERNAL_OES, 0, gl_image.get(),
|
| + texture, GL_TEXTURE_EXTERNAL_OES, 0, 0, gl_image.get(),
|
| gles2::Texture::UNBOUND, 0);
|
| return true;
|
| }
|
| @@ -198,7 +198,7 @@ bool StreamTexture::CopyTexImage(unsigned target) {
|
| // By setting image state to UNBOUND instead of COPIED we ensure that
|
| // CopyTexImage() is called each time the surface texture is used for
|
| // drawing.
|
| - texture->SetLevelStreamTextureImage(GL_TEXTURE_EXTERNAL_OES, 0, this,
|
| + texture->SetLevelStreamTextureImage(GL_TEXTURE_EXTERNAL_OES, 0, 0, this,
|
| gles2::Texture::UNBOUND, 0);
|
| }
|
|
|
|
|