mirror of
https://github.com/brl/mutter.git
synced 2025-04-10 04:09:38 +00:00

The convenience constructors for the builtin vertex structs were creating the primitive and then immediately destroying it and returning the pointer. I think the intention was to unref the attributes instead. This adds an internal wrapper around the new_with_attributes_array constructor which unrefs the attributes instead of the primitive. The convenience constructors now use that.
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%