Every time after I call glClear(GL_COLOR_BUFFER_BIT);
, I get the OpenGL error "invalid framebuffer operation".
The call seems to work just fine, and nothing seems wrong. I call glClear(GL_COLOR_BUFFER_BIT);
first thing in the ::paintGL()
method.
Huh? Should I just disregard this error?