cogl-atlas-texture: Don't create atlas textures with the premult bit
authorNeil Roberts <neil@linux.intel.com>
Tue, 19 Jan 2010 17:06:28 +0000 (17:06 +0000)
committerNeil Roberts <neil@linux.intel.com>
Tue, 19 Jan 2010 17:15:51 +0000 (17:15 +0000)
commit08b8b2791f91770d1a6e7aff163167d003b0fad3
tree511a17d52ca1acfdc2c28861302c53ce5ffaad9c
parentc4adefffd34d91fdf72365a6d11641f3c9f751cc
cogl-atlas-texture: Don't create atlas textures with the premult bit

Previously the atlas textures were being created with whatever format
the first sub texture is in. Only three formats are supported so this
only matters if the first texture is a premultiplied alpha
texture. Instead it now masks out the premultiplied bit so that the
textures are always either RGB_888 or RGBA_8888.
clutter/cogl/cogl/cogl-atlas-texture.c