Skip to content
  • Chia-I Wu's avatar
    draw: Add draw_set_index_buffer and others. · 4f024e0f
    Chia-I Wu authored
    This commit adds draw_set_index_buffer, draw_set_mapped_index_buffer,
    and draw_vbo.  The idea behind the new functions is that an index buffer
    should be a state.
    
    draw_arrays and draw_set_mapped_element_buffer are preserved, but the
    latter will be removed soon.
    4f024e0f