View Full Version : glBufferData error 502

08-24-2011, 02:54 AM

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!

08-24-2011, 03:04 AM
Sorry, the whole error message is the following:

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

06-14-2012, 12:02 AM
Can you paste your code here?