summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/client/vertex_array_object_manager.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/command_buffer/client/vertex_array_object_manager.cc')
-rw-r--r--gpu/command_buffer/client/vertex_array_object_manager.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/gpu/command_buffer/client/vertex_array_object_manager.cc b/gpu/command_buffer/client/vertex_array_object_manager.cc
index a1098e9..8b0385d 100644
--- a/gpu/command_buffer/client/vertex_array_object_manager.cc
+++ b/gpu/command_buffer/client/vertex_array_object_manager.cc
@@ -282,9 +282,11 @@ bool VertexArrayObject::GetVertexAttrib(
case GL_VERTEX_ATTRIB_ARRAY_NORMALIZED:
*param = attrib->normalized();
break;
+ case GL_VERTEX_ATTRIB_ARRAY_INTEGER:
+ // TODO(zmo): cache this on the client side.
+ return false;
default:
return false; // pass through to service side.
- break;
}
return true;
}