| Index: gpu/command_buffer/service/feature_info.cc
|
| diff --git a/gpu/command_buffer/service/feature_info.cc b/gpu/command_buffer/service/feature_info.cc
|
| index cacc826383b983deae385fafec01b5337c43189d..af5501f91bb81bdbd1113dcfee931d7f16266532 100644
|
| --- a/gpu/command_buffer/service/feature_info.cc
|
| +++ b/gpu/command_buffer/service/feature_info.cc
|
| @@ -441,26 +441,21 @@ void FeatureInfo::InitializeFeatures() {
|
| bool enable_texture_half_float = false;
|
| bool enable_texture_half_float_linear = false;
|
|
|
| - bool have_arb_texture_float = extensions.Contains("GL_ARB_texture_float");
|
| -
|
| - if (have_arb_texture_float) {
|
| + if (extensions.Contains("GL_ARB_texture_float")) {
|
| enable_texture_float = true;
|
| enable_texture_float_linear = true;
|
| enable_texture_half_float = true;
|
| enable_texture_half_float_linear = true;
|
| } else {
|
| - if (extensions.Contains("GL_OES_texture_float") || have_arb_texture_float) {
|
| + if (extensions.Contains("GL_OES_texture_float")) {
|
| enable_texture_float = true;
|
| - if (extensions.Contains("GL_OES_texture_float_linear") ||
|
| - have_arb_texture_float) {
|
| + if (extensions.Contains("GL_OES_texture_float_linear")) {
|
| enable_texture_float_linear = true;
|
| }
|
| }
|
| - if (extensions.Contains("GL_OES_texture_half_float") ||
|
| - have_arb_texture_float) {
|
| + if (extensions.Contains("GL_OES_texture_half_float")) {
|
| enable_texture_half_float = true;
|
| - if (extensions.Contains("GL_OES_texture_half_float_linear") ||
|
| - have_arb_texture_float) {
|
| + if (extensions.Contains("GL_OES_texture_half_float_linear")) {
|
| enable_texture_half_float_linear = true;
|
| }
|
| }
|
|
|