ok, this is kinda a weird error, and its not that important, but i thought id ask anyway. first, the code im using to grab and output the latest opengl error:
if ( error != GL_NO_ERROR);
fprintf(stderr, "OpenGL error: %s
seems simple enough (i ripped it from the red book), but every time that bit of code is run, it outputs the error string, even when the error is “no error.” id rather it not do this. can anybody see anything wrong with this?