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?
glClearColor(0,0,0,0)
to see if it made any difference, and the other is still there. – InterchangeableglClear()
has error-checking code before and after. The error is not set directly before, and it is set directly after. Clearly it's theglClear()
call that is the culprit. – Interchangeableglxinfo
and look atOpenGL version string
- you'll have to search for MacOS equivalent. For example, my says:4.2.0 NVIDIA 295.49
, which is the version number, vendor, and driver version. – Uzziglxinfo | grep "OpenGL version string"
gives2.1 APPLE-7.18.18
. – Interchangeable