summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/service
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/command_buffer/service')
-rw-r--r--gpu/command_buffer/service/feature_info.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/gpu/command_buffer/service/feature_info.cc b/gpu/command_buffer/service/feature_info.cc
index 9b83aca..606636c 100644
--- a/gpu/command_buffer/service/feature_info.cc
+++ b/gpu/command_buffer/service/feature_info.cc
@@ -389,10 +389,10 @@ void FeatureInfo::AddFeatures(const char* desired_features) {
// GL_OES_depth32
// GL_OES_element_index_uint
- feature_flags_.enable_texture_float_linear = enable_texture_float_linear;
- feature_flags_.enable_texture_half_float_linear =
+ feature_flags_.enable_texture_float_linear |= enable_texture_float_linear;
+ feature_flags_.enable_texture_half_float_linear |=
enable_texture_half_float_linear;
- feature_flags_.npot_ok = npot_ok;
+ feature_flags_.npot_ok |= npot_ok;
if (ext.HaveAndDesire("GL_CHROMIUM_post_sub_buffer")) {
AddExtensionString("GL_CHROMIUM_post_sub_buffer");