Index: content/browser/renderer_host/media/video_capture_texture_wrapper.cc |
diff --git a/content/browser/renderer_host/media/video_capture_texture_wrapper.cc b/content/browser/renderer_host/media/video_capture_texture_wrapper.cc |
index e02b6fc92347ff5c38e676e1bcb20dd526156539..7797aa8fc9eb13b9b585ddddce51f908caef4bc7 100644 |
--- a/content/browser/renderer_host/media/video_capture_texture_wrapper.cc |
+++ b/content/browser/renderer_host/media/video_capture_texture_wrapper.cc |
@@ -292,10 +292,9 @@ void VideoCaptureTextureWrapper::TextureWrapperDelegate::OnIncomingCapturedData( |
gpu_memory_buffer->Unmap(); |
gpu::gles2::GLES2Interface* gl = capture_thread_context_->ContextGL(); |
- GLuint image_id = gl->CreateImageCHROMIUM(gpu_memory_buffer->AsClientBuffer(), |
- frame_size.width(), |
- frame_size.height(), |
- GL_RGBA); |
+ ClientBuffer buffers[] = {gpu_memory_buffer->AsClientBuffer()}; |
+ GLuint image_id = gl->CreateImageCHROMIUM(buffers, frame_size.width(), |
+ frame_size.height(), GL_RGBA); |
DCHECK(image_id); |
GLuint texture_id = gl_helper_->CreateTexture(); |