[cogl-material] Always glBindTexture when flushing material state
[cogl-material] Always glBindTexture when flushing material state

Bug #1457 - Creating a new texture messes up the cogl material state
            cache; reported by Neil Roberts

We still don't have caching of bound texture state so we always have to
re-bind the texture when flushing the GL state of any material layers.

gcampax/cogl,Distrotech/cogl,spatulasnout/cogl,collects/cogl,djdeath/cogl-android,Distrotech/cogl,collects/cogl,gcampax/cogl,djdeath/cogl,djdeath/cogl,djdeath/cogl-android,gcampax/cogl,spatulasnout/cogl,Distrotech/cogl,Distrotech/cogl,gcampax/cogl,djdeath/cogl-android,djdeath/cogl