mirror of
https://github.com/brl/mutter.git
synced 2025-03-26 13:13:59 +00:00

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.