Index: gpu/command_buffer/common/gles2_cmd_utils.cc |
diff --git a/gpu/command_buffer/common/gles2_cmd_utils.cc b/gpu/command_buffer/common/gles2_cmd_utils.cc |
index c16a962f6d59ba61df57af19e1a78b3573ea57f8..3985193e1167e80c8c53b120b3de60ef559263f1 100644 |
--- a/gpu/command_buffer/common/gles2_cmd_utils.cc |
+++ b/gpu/command_buffer/common/gles2_cmd_utils.cc |
@@ -329,6 +329,16 @@ int GLES2Util::GLGetNumValuesReturned(int id) const { |
case GL_CURRENT_VERTEX_ATTRIB: |
return 4; |
+ // -- glGetSynciv |
+ case GL_OBJECT_TYPE: |
+ return 1; |
+ case GL_SYNC_STATUS: |
+ return 1; |
+ case GL_SYNC_CONDITION: |
+ return 1; |
+ case GL_SYNC_FLAGS: |
+ return 1; |
+ |
// -- glHint with GL_OES_standard_derivatives |
case GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES: |
return 1; |