MalcolmB
04-11-2007, 12:34 PM
Hi,
I"m using glDrawRangeElements with VBOs to render my geometry. In a few cases I get a GL_INVALID_OPERATION error when I call this function (it works 99% of the time without error).
I've verified that I'm not inside a Begin/End block, and I've verified that none of the VBOs I'm using are mapped.
Looking at the VBO spec I can't see any other reasons why an INVALID_OPERATION error would be given. Anyone have any ideas on what else I should look for?
Btw, glDrawArrays gives the same error.
Thanks
I"m using glDrawRangeElements with VBOs to render my geometry. In a few cases I get a GL_INVALID_OPERATION error when I call this function (it works 99% of the time without error).
I've verified that I'm not inside a Begin/End block, and I've verified that none of the VBOs I'm using are mapped.
Looking at the VBO spec I can't see any other reasons why an INVALID_OPERATION error would be given. Anyone have any ideas on what else I should look for?
Btw, glDrawArrays gives the same error.
Thanks