PDA

View Full Version : VBO Bug? ColorArray is bound, mapped, but disabled



MalcolmB
05-05-2008, 02:18 PM
Hey, is this a bug in the nvidia drivers:
I'm rendering a VBO and in some cases there is a buffer bound to the COLOR_ARRAY_BINDING (from a previous object), that also happens to currently be mapped.

The client side state GL_COLOR_ARRAY is Disabled though, so I think according to the spec this should be allowed, no?

I get GL_INVALID_OPERATION when I call glDrawRangeElements. Clearing out the binding (binding 0 and calling glColorPointer) removes the error.

Do I need to clear out all of my ARRAY_BINDINGS after each render?