mirror of
https://github.com/brl/mutter.git
synced 2025-01-23 01:48:55 +00:00
ac3e0150ed
At two places in cogl_wrap_prepare_for_draw it was trying to loop over the texture units to flush some state. However it was retrieving the texture unit pointer using w->active_texture_unit instead of the loop index so it would end up with the wrong state. Also in glEnableClientState it was using the active unit instead of the client active unit.