How to use glGetIntegerv in cocos2d-x

How can i get GL_MAX_VERTEX_UNIFORM_VECTORS value,
i’m use glGetIntegerv(GL_MAX_VERTEX_UNIFORM_VECTORS, &maxVertexUniforms); to get it,
but the maxVertexUniforms just not changed after i call the function. But when i use glGetIntegerv(GL_MAX_VERTEX_ATTRIBS, &maxVertexAttribs); to get GL_MAX_VERTEX_ATTRIBS,
it gets the right value. Does cocos2d-x not support GL_MAX_VERTEX_UNIFORM_VECTORS value, or i have missed something else? I’m using cocos2d-x 2.2.3, thanks!

And i have just try to get the GL_MAX_VERTEX_UNIFORM_COMPONENTS value, it also return a value.
Does GL_MAX_VERTEX_UNIFORM_COMPONENTS equal to GL_MAX_VERTEX_UNIFORM_VECTORS in
cocos2d-x?

The implementation-dependent constants MAX_VERTEX_UNIFORM_VECTORS and MAX_FRAGMENT_UNIFORM_VECTORS have values respectively equal to the values of MAX_VERTEX_UNIFORM_COMPONENTS and MAX_FRAGMENT_UNIFORM_COMPONENTS divided by four."

Ok, i got the answer! haha