Index: gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doers.cc |
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doers.cc b/gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doers.cc |
index d602360c369fbf5981ce8050b6f0eeb0b74b56a8..f6e723d54e2bec72412c79a5bcc88c45bbf297e2 100644 |
--- a/gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doers.cc |
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doers.cc |
@@ -1687,13 +1687,11 @@ error::Error GLES2DecoderPassthroughImpl::DoReadPixels(GLint x, |
GLenum type, |
GLsizei bufsize, |
GLsizei* length, |
- GLsizei* columns, |
- GLsizei* rows, |
void* pixels, |
int32_t* success) { |
FlushErrors(); |
glReadPixelsRobustANGLE(x, y, width, height, format, type, bufsize, length, |
- columns, rows, pixels); |
+ pixels); |
*success = FlushErrors() ? 0 : 1; |
return error::kNoError; |
} |