mirror of
https://github.com/brl/mutter.git
synced 2025-01-29 12:58:56 +00:00
Damien Lespiau
3069ad6409
cogl: Create CoglTextureUnit with its associated unit number
The index field of CoglTextureUnit was never set, leading to the creation of units with index set to 0. When trying to retrieve a texture unit by its index (!= 0) with _cogl_get_texture_unit(), a new one was created as it could not find it back in the list of textures units: ctx->texture_units. http://bugzilla.openedhand.com/show_bug.cgi?id=1958
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%