[cogl_polygon] Enable COGL_ENABLE_BLEND when use_color is set
authorNeil Roberts <neil@linux.intel.com>
Tue, 27 Oct 2009 13:18:51 +0000 (13:18 +0000)
committerNeil Roberts <neil@linux.intel.com>
Tue, 27 Oct 2009 13:18:51 +0000 (13:18 +0000)
commitf8e6727e74c80b80bba3ccb9201e1afd23349c35
treee007e0b3416a33f7c307db794ce7ab2fe25faa41
parent0c32573ffa980fffc966cf35768233a3ff1ed076
[cogl_polygon] Enable COGL_ENABLE_BLEND when use_color is set

Otherwise you can't use the alpha channel of the vertex colors unless
the material has a texture with alpha or the material's color has
alpha less than 255.
clutter/cogl/cogl/cogl-primitives.c