mirror of
https://github.com/brl/mutter.git
synced 2025-01-27 03:49:03 +00:00
Neil Roberts
5dc1b2fb8f
cogl-primitive: Fix the ref-counting for the convenience constuctors
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%