materials: Get the right blend function for alpha
authorEmmanuele Bassi <ebassi@linux.intel.com>
Tue, 1 Dec 2009 16:22:45 +0000 (16:22 +0000)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Tue, 1 Dec 2009 16:25:54 +0000 (16:25 +0000)
commit1d87ecc6a1be73e7d72c8c5ecb2b8268d5a0cd5e
treeaa2e765d481cc68bffa73e2d7398a464d5e93940
parentb43e804c078578e54b0ef9680a5d7b4bf53cafe8
materials: Get the right blend function for alpha

The correct blend function for the alpha channel is:

  GL_ONE, GL_ONE_MINUS_SRC_ALPHA

As per bug 1406. This fix was dropped when the switch to premultiplied
alpha was merged.
clutter/cogl/cogl/cogl-material.c