| Index: gpu/command_buffer/service/gles2_cmd_decoder.cc
|
| diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.cc b/gpu/command_buffer/service/gles2_cmd_decoder.cc
|
| index fad05fe6ff9d4458c167d167cc854ca3fcf09400..1cb498ff91bdbff470a87428a3b1d550fcfb00f1 100644
|
| --- a/gpu/command_buffer/service/gles2_cmd_decoder.cc
|
| +++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc
|
| @@ -10868,7 +10868,7 @@ error::Error GLES2DecoderImpl::HandleReadPixels(uint32_t immediate_data_size,
|
| "format and type incompatible with the current read framebuffer");
|
| return error::kNoError;
|
| }
|
| - if (type == GL_HALF_FLOAT_OES && !gl_version_info().is_es2) {
|
| + if (type == GL_HALF_FLOAT_OES && !gl_version_info().is_es) {
|
| type = GL_HALF_FLOAT;
|
| }
|
| if (width == 0 || height == 0) {
|
|
|