Search:

Type: Posts; User: Ro3034

Search: Search took 0.00 seconds.

  1. Of course: static const GLushort vertexArray[]...

    Of course:

    static const GLushort vertexArray[] = {-25,-25,0, 25,-25,0, 0,25,0 };
    static const GLushort IndexData[] =
    {
    0, 1, 2
    };
    glGenBuffers(1, &VertexBuffer);
    glGenBuffers(1,...
  2. Probem with glDrawElement with my Vertex Buffer Object

    I try to apply the same code like in this tutorial http://www.g-truc.net/article/vbo-fr.pdf , by using a vertex buffer and an index buffer but my program does a crash. It just works ten seconds when...
Results 1 to 2 of 2