Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(966)

Unified Diff: gpu/command_buffer/service/gles2_cmd_decoder.cc

Issue 2374083003: Revert of ReadPixels with GL_HALF_FLOAT_OES when targetting all versions of ES. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/test/gpu/gpu_tests/webgl_conformance_expectations.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « content/test/gpu/gpu_tests/webgl_conformance_expectations.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698