Should be:
any getIndexedParameter(GLenum target, GLuint index);