mirror of
https://github.com/brl/mutter.git
synced 2025-02-09 10:04:08 +00:00
![Neil Roberts](/assets/img/avatar_default.png)
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.