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 i use the function glDrawElement whereas when i use glDrawArrays everything is ok. It’s a problem with memory but normaly it should work. I really want to use an index buffer to improve my program, can you help me please???
I use the PowerVR Insider OpenglEs 1.1 library because the functions like glBindBuffer, glGen … don’t exist in the 1.0 version.
If you have a sample code which works, i want it.
Thanks for your help