[cogl_read_pixels] call cogl_flush() before changing glPixelStore state
authorRobert Bragg <robert@linux.intel.com>
Mon, 2 Nov 2009 01:11:21 +0000 (01:11 +0000)
committerRobert Bragg <robert@linux.intel.com>
Wed, 4 Nov 2009 03:34:02 +0000 (03:34 +0000)
commita222ee22f9dd35c5e0671914206759699e63750d
treeef71af9503910f7bfec47217ee89ac85fc4a2e9b
parented431a3c65507b3e3da4760eae6e2b22be1f27f5
[cogl_read_pixels] call cogl_flush() before changing glPixelStore state

We were previously calling cogl_flush() after setting up the glPixelStore
state for calling glReadPixels, but flushing the journal could itself
change the glPixelStore state.
clutter/cogl/cogl/cogl.c