pipeline: don't skip flush if skip_gl_color flag differs
authorRobert Bragg <robert@linux.intel.com>
Tue, 11 Jan 2011 14:10:11 +0000 (14:10 +0000)
committerRobert Bragg <robert@linux.intel.com>
Tue, 11 Jan 2011 14:30:02 +0000 (14:30 +0000)
commit676df42c6fefd28a6da2c1cefd885d6fa4d59da1
treeb435c0ecf0429ba89937c2e0c3870ce0831da9ad
parentb922ac605962df6b1cf86a0e710294be114f62c4
pipeline: don't skip flush if skip_gl_color flag differs

We try and bail out of flushing pipeline state asap if we can see the
pipeline has already been flushed and hasn't changed but we weren't
checking to see if the skip_gl_color flag is the same as when it was
last flush too and so we'd sometimes bail out without updating the
glColor correctly.
clutter/cogl/cogl/cogl-pipeline-opengl.c