diff options
Diffstat (limited to 'content/common/gpu/media/gpu_video_decode_accelerator.cc')
-rw-r--r-- | content/common/gpu/media/gpu_video_decode_accelerator.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/content/common/gpu/media/gpu_video_decode_accelerator.cc b/content/common/gpu/media/gpu_video_decode_accelerator.cc index 3a0071f..0de11be 100644 --- a/content/common/gpu/media/gpu_video_decode_accelerator.cc +++ b/content/common/gpu/media/gpu_video_decode_accelerator.cc @@ -341,10 +341,8 @@ void GpuVideoDecodeAccelerator::BindImage(uint32 client_texture_id, gpu::gles2::TextureManager* texture_manager = command_decoder->GetContextGroup()->texture_manager(); gpu::gles2::TextureRef* ref = texture_manager->GetTexture(client_texture_id); - if (ref) { - texture_manager->SetLevelImage(ref, texture_target, 0, image.get(), - gpu::gles2::Texture::BOUND); - } + if (ref) + texture_manager->SetLevelImage(ref, texture_target, 0, image.get()); } scoped_ptr<media::VideoDecodeAccelerator> |