cogl-material: Ensure mipmaps before doing anything else on a texture
cogl-material: Ensure mipmaps before doing anything else on a texture

When the texture is in the atlas, ensuring the mipmaps can effectively
make it become a completely different texture so we should do this
before getting the GL handle.

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