[cogl] Flush matrix before clip planes
authorHavoc Pennington <hp@pobox.com>
Mon, 16 Mar 2009 15:09:33 +0000 (15:09 +0000)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Mon, 16 Mar 2009 15:10:33 +0000 (15:10 +0000)
commit2c1c8364170558a79d9d9af8a149b64dfd83c2b0
tree7d890d1656cb091c29b359b816d082e93fd290f9
parent9229fb6114e57a2690fa7ea18cbcdc78b7210d85
[cogl] Flush matrix before clip planes

glClipPlane() is affected by modelview matrix so we need to flush
before calling it.

Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
clutter/cogl/gl/cogl.c