[cogl-material] Fixes some dirty flag checks
authorRobert Bragg <robert@linux.intel.com>
Fri, 6 Feb 2009 16:05:08 +0000 (16:05 +0000)
committerRobert Bragg <robert@linux.intel.com>
Mon, 9 Feb 2009 14:15:06 +0000 (14:15 +0000)
commit4a110afe08f9e141ae1ac596f030592aaac65769
tree309a3097e31780eb050da94534048fbeb3710cb0
parentfa55c096d87796ce904ece831547f0cdb2799ff1
[cogl-material] Fixes some dirty flag checks

Flushing material layers wasn't clearing the right dirty flag and
some of the tests used to avoid re-submitting GL state weren't
complete.
clutter/cogl/common/cogl-material.c