I check for errors using
if((error = glGetError()) != GL_NO_ERROR)
errString = gluErrorString(error);
fprintf(stderr, "OpenGL Error: %s
I get an invalid value but I have no idea where it is comming from. What does the invalid value string mean and is there a way to check where it is comming from in my code? Im sure the answer is no but mabey there is something im not aware of.