I dont know if its a bug or just my stupidity but when I call:
int max_vertex_attribs;
glGetIntegerv (GL_MAX_VERTEX_ATTRIBS_ARB, &max_vertex_attribs);
I get an GL_INVALID_ENUM error. So I made a small investigation and looked how others query this value. I traced GLinfo2.exe and I found out that program calls glGetProgramivARB. That also produces an error, and
you can even see this bug in the GLinfo report, because the value is the same as the previous (max. env. parameters) and is 96!
Please tell me that I miss sth, or if it is a bug how can I avoid it. Namely, what value use as default, if the query fails.
Thanks,