Skip to content
  • Robert Bragg's avatar
    vertex-array: Adds data arg for _vertex_array_new() · 982f1b4b
    Robert Bragg authored
    This adds an optional data argument for cogl_vertex_array_new() since it
    seems that mostly every case where we use this API we follow up with a
    cogl_buffer_set_data() matching the size of the new array. This
    simplifies all those cases and whenever we want to delay uploading of
    data then NULL can simply be passed.
    982f1b4b