mirror of
https://github.com/brl/mutter.git
synced 2025-01-24 10:28:58 +00:00
Robert Bragg
093251776f
material: set ->layer_index on new layers for unit0
We were mistakenly only initializing layer->layer_index for new layers associated with texture units > 0. This had gone unnoticed because normally layers associated with texture unit0 have a layer index of 0 too. Mutter was hitting this issue because it was initializing layer 1 before layer 0 for one of its materials so layer 1 was temporarily associated with texture unit 0.
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%