Index: gpu/command_buffer/service/texture_manager.cc |
=================================================================== |
--- gpu/command_buffer/service/texture_manager.cc (revision 112643) |
+++ gpu/command_buffer/service/texture_manager.cc (working copy) |
@@ -368,6 +368,12 @@ |
case GL_TEXTURE_MAX_ANISOTROPY_EXT: |
// Nothing to do for this case at the moment. |
break; |
+ case GL_TEXTURE_USAGE_ANGLE: |
+ if (!feature_info->validators()->texture_usage.IsValid(param)) { |
+ return false; |
+ } |
+ usage_ = param; |
+ break; |
default: |
NOTREACHED(); |
return false; |