Robert Bragg 7eedf0f234 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.
2010-07-07 20:46:04 +01:00
..
2010-06-21 17:57:57 +01:00
2010-03-01 12:56:10 +00:00
2010-07-07 14:52:19 +01:00
2010-06-30 11:32:15 +01:00
2009-01-20 18:47:50 +00:00
2010-06-11 16:09:36 +01:00
2010-06-11 16:09:36 +01:00
2010-06-30 11:32:15 +01:00
2010-06-03 14:10:55 +01:00
2010-03-03 10:47:42 +00:00
2010-03-02 11:12:32 +00:00
2010-06-11 16:09:36 +01:00
2010-05-25 11:13:03 +01:00
2010-06-11 16:09:36 +01:00
2010-03-02 11:12:32 +00:00
2010-06-11 16:09:36 +01:00
2010-06-11 16:09:36 +01:00
2009-10-14 11:31:26 +01:00
2009-07-10 11:38:42 +01:00
2010-06-11 16:09:36 +01:00
2010-06-11 16:09:36 +01:00
2010-06-11 16:09:36 +01:00
2010-03-02 11:12:32 +00:00
2010-06-30 11:32:15 +01:00
2010-06-11 16:09:36 +01:00
2010-06-11 16:09:36 +01:00
2010-02-03 14:38:13 +00:00
2010-06-11 16:09:36 +01:00
2010-06-11 16:09:36 +01:00
2010-02-01 10:40:34 +00:00
2010-03-02 11:12:32 +00:00