To be able to use index buffers, they must also be bound to a vertex array object along with the vertex buffers. Ideally, if there are multiple index buffers for a vertex buffer, separate VAOs should be created for each combination. |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| CMakeLists.txt | ||
| gl-cocoa.m | ||
| gl-helpers.c | ||
| gl-helpers.h | ||
| gl-indexbuffer.c | ||
| gl-shader.c | ||
| gl-shaderparser.c | ||
| gl-shaderparser.h | ||
| gl-stagesurf.c | ||
| gl-subsystem.c | ||
| gl-subsystem.h | ||
| gl-texture2d.c | ||
| gl-texturecube.c | ||
| gl-vertexbuffer.c | ||
| gl-windows.c | ||
| gl-x11.c | ||
| gl-zstencil.c | ||