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 1cb498ff91bdbff470a87428a3b1d550fcfb00f1..fad05fe6ff9d4458c167d167cc854ca3fcf09400 100644 |
--- a/gpu/command_buffer/service/gles2_cmd_decoder.cc |
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc |
@@ -10868,7 +10868,7 @@ |
"format and type incompatible with the current read framebuffer"); |
return error::kNoError; |
} |
- if (type == GL_HALF_FLOAT_OES && !gl_version_info().is_es) { |
+ if (type == GL_HALF_FLOAT_OES && !gl_version_info().is_es2) { |
type = GL_HALF_FLOAT; |
} |
if (width == 0 || height == 0) { |