OpenGL error using bot beginDraw()

When running many of the graphics examples, I oft get this as the first of the error messages:

“OpenGL error 1280 at bot beginDraw(): invalid enumerant”

Has anyone seen this error, and know what is causing it?

It has been seen before:

but it is not as common. For the record, can you tell us about your system? Are you using the latest Processing version? What is your OS? Did you start having this problem recently, maybe after a system update?