--- a/src/mesh.c Fri Apr 18 20:13:01 2025 +0200 +++ b/src/mesh.c Sat Apr 19 11:42:53 2025 +0200 @@ -62,4 +62,13 @@ glDeleteBuffers(count, buffers); glDeleteVertexArrays(count, arrays); asc_error_catch_all_gl(); -} \ No newline at end of file +} + +void asc_mesh_draw_triangle_strip(AscMesh *mesh) { + glBindVertexArray(mesh->vao); + glDrawArrays(GL_TRIANGLE_STRIP, 0, mesh->vertices); +#ifndef NDEBUG + // only unbind in debug mode to detect accidental re-use of the wrong VAO + glBindVertexArray(0); +#endif +}