mirror of
https://github.com/brl/mutter.git
synced 2025-02-04 15:44:10 +00:00
Neil Roberts
6027aa04a4
cogl-buffer: Use void* instead of guint8* for map and set_data
Unless the CoglBuffer is being used for texture data then it's relatively unlikely that the data will contain an array of bytes. For example if it's used as a vertex array then it's more likely to be floats or some vertex struct. In that case it's much more convenient if set_data and map use void* pointers so that we can avoid a cast.
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%