mirror of
https://github.com/brl/mutter.git
synced 2025-02-23 08:24:09 +00:00

When setting up the state for a layer, we need to switch texture units before we do anything that might bind the texture, or we'll bind the wrong texture to the previous unit. http://bugzilla.openedhand.com/show_bug.cgi?id=2033 Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>