Results 1 to 3 of 3

Thread: glBufferData error 502

  1. #1
    Junior Member
    Join Date
    Aug 2011
    Posts
    6

    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!

  2. #2
    Junior Member
    Join Date
    Aug 2011
    Posts
    6

    Re: glBufferData error 502

    Sorry, the whole error message is the following:

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

  3. #3

    Re: glBufferData error 502

    Can you paste your code here?

Similar Threads

  1. VBO Test - glBufferData vs glBufferSubData vs glMapBufferOES
    By John in forum OpenGL ES 1.X - fixed function hardware
    Replies: 5
    Last Post: 04-04-2011, 07:17 AM
  2. fatal error C1189: #error : ERROR: Use of C runtime library
    By gjermani in forum OpenGL ES general technical discussions
    Replies: 1
    Last Post: 09-24-2007, 03:02 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •