Adds some debug code to _cogl_journal_flush_quad_batch
authorRobert Bragg <robert@linux.intel.com>
Wed, 28 Jan 2009 13:46:39 +0000 (13:46 +0000)
committerRobert Bragg <robert@linux.intel.com>
Wed, 28 Jan 2009 17:20:15 +0000 (17:20 +0000)
commit6048a0544a3eaf8e83c6be9889b624525476cec6
tree09eda9a24acaa72c3383d02c7ceebb1035684665
parent0530405899d0399f97ff744eb88cb8674a423821
Adds some debug code to _cogl_journal_flush_quad_batch

The code is #if 0 guarded, but when uncommented it outlines all drawn
rectangles with an un-blended red, green or blue border. This may e.g. help
with debugging texture slicing issues or blending issues, plus it looks quite
cool.
clutter/cogl/gl/cogl-texture.c