Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Search:

Type: Posts; User: DindinX

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    1,348

    Re: glDrawArrays with vector(STL)?

    Just use &verts[0] instead of verts as the fourth parameter of glVertexPointer. This will work with std::vector the same way it works with arrays.
  2. Re: glVertex3f throws GL_INVALID_OPERATION error?

    It is an invalid operation to call glGetError() between glBegin() and glEnd(). So I guess the error comes from the call to EC() itself rather than the call to glVertex.
  3. Replies
    2
    Views
    2,577

    Re: invalid operation after the glbegin

    Yes, it is an invalid operation to call glGetError() between glBegin() and glEnd()
  4. Replies
    8
    Views
    11,393

    Re: Opengl 3.0 deprecation equivalents

    I use to be able to find that annotated text .pdf, but I can't find it anymore. Can someone give a link for it? Thanks in advance.
Results 1 to 4 of 4