cogl-material: Set the blend equation even if blend funcs are the same
authorNeil Roberts <neil@linux.intel.com>
Wed, 12 May 2010 17:57:52 +0000 (18:57 +0100)
committerNeil Roberts <neil@linux.intel.com>
Mon, 17 May 2010 15:31:28 +0000 (16:31 +0100)
commit7caa10160dce6b7d8001421331133c4a00dfde52
tree94636423dc8f75e217cde3a4a1254a2a8badc65b
parentdd9e7853ece631be48ac85e3a984bfb93a127b43
cogl-material: Set the blend equation even if blend funcs are the same

Previously it would only try to set the blend equation if the RGB and
alpha blending functions were different. However it's completely valid
to use a non-standard blending function when the functions are the
same. This patch moves the blending equation to outside the if
statement.
clutter/cogl/cogl/cogl-material.c