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

Unified Diff: cc/resources/resource_provider.cc

Issue 2713553005: Add GL_EXT_color_buffer_half_float support (Closed)
Patch Set: Add WebGL, cleanup Created 3 years, 10 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
Index: cc/resources/resource_provider.cc
diff --git a/cc/resources/resource_provider.cc b/cc/resources/resource_provider.cc
index 20945540784af870e841cec7cc708996364183e8..9c9500cb97c72a92d3ba7d462f28fac0d9ad3917 100644
--- a/cc/resources/resource_provider.cc
+++ b/cc/resources/resource_provider.cc
@@ -547,7 +547,7 @@ bool ResourceProvider::IsResourceFormatSupported(ResourceFormat format) const {
// TODO(ccameron): This will always return false on pixel tests, which
// makes it un-test-able until we upgrade Mesa.
// https://crbug.com/687720
- return caps.texture_half_float_linear && caps.color_buffer_float;
+ return caps.texture_half_float_linear && caps.color_buffer_half_float;
}
NOTREACHED();
« no previous file with comments | « no previous file | gpu/command_buffer/common/capabilities.h » ('j') | gpu/command_buffer/service/context_group.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698