Closed MarkOates closed 5 months ago
One piece of evidence that that the buffer start
is indexing into is an index buffer and not vertex buffer:
_al_draw_buffer_common_soft (which is called from al_draw_indexed_buffer) contains this call:
idx = al_lock_index_buffer(index_buffer, start, num_vtx, ALLEGRO_LOCK_READONLY);
For the documentation of al_draw_indexed_buffer, the
start
andend
params represent positions of theindex_buffer
(not thevertex_buffer
as stated in the docs).Currently:
The other listing https://liballeg.org/a5docs/trunk/primitives.html#al_draw_indexed_prim, appears to have it correct.