glBufferData error 502

Hello,

i try to render a very simple scene using VBO and glDrawElements(), but nothing is rendered to the viewport (it stays black). Instead i receive an error Message in this “powertools console ?” saying

glBufferData error 502 ( GL_INVALID_OPERATION )

Does anyone now what the cause of this error is? Or what does it mean? I guess i did something wrong when loading data into the buffers using glBufferData() or when reserving the buffers with glGenBuffers(), but i cant find anything wrong.

Thank you very much!

Sorry, the whole error message is the following:

glBufferData error 502 ( GL_INVALID_OPERATION ) : currently bound buffer is zero

Can you paste your code here?

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.