cogl-material: Consider the shader when deciding if materials equate
authorNeil Roberts <neil@linux.intel.com>
Sat, 17 Jul 2010 13:08:28 +0000 (14:08 +0100)
committerNeil Roberts <neil@linux.intel.com>
Tue, 20 Jul 2010 16:21:12 +0000 (17:21 +0100)
commit0e80747a684339d116e7860b26a7049320525284
treee4697d848404cc7c651079ca8b005ecc90023171
parentf2d0f0ab5f120c514b82d75478aea1e17ad51ba7
cogl-material: Consider the shader when deciding if materials equate

_cogl_material_equal was ignoring the user shader state so rectangles
with different shaders would get batched together.

http://bugzilla.clutter-project.org/show_bug.cgi?id=2220
clutter/cogl/cogl/cogl-material.c