Results 1 to 10 of 42

Thread: pascal and learning 3d

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #22
    turned out that I was dereferencing a pointer in a wrong way
    with static array it was just:
    glBufferData(GL_ARRAY_BUFFER,x,buffer,GL_STATIC_DR AW);
    and with dynamic should be:
    glBufferData(GL_ARRAY_BUFFER,x,@buffer^[0],GL_STATIC_DRAW);

    where 'buffer' is a pointer for that array type.

    ps: it liiveees!!
    Last edited by laggyluk; 01-12-2012 at 11:42 PM.

Bookmarks

Posting Permissions

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