diff options
-rw-r--r-- | gpu/command_buffer/service/context_group.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gpu/command_buffer/service/context_group.cc b/gpu/command_buffer/service/context_group.cc index f3c2de3..8e8815a 100644 --- a/gpu/command_buffer/service/context_group.cc +++ b/gpu/command_buffer/service/context_group.cc @@ -109,6 +109,8 @@ bool ContextGroup::Initialize(const DisallowedFeatures& disallowed_features, std::string lc_str(::StringToLowerASCII(std::string(vendor_str))); bool intel_on_mac = strstr(lc_str.c_str(), "intel"); if (intel_on_mac) { + max_texture_size = std::min( + static_cast<GLint>(4096), max_texture_size); max_cube_map_texture_size = std::min( static_cast<GLint>(512), max_cube_map_texture_size); } |