cogl-framebuffer: Remove all dependencies after a flush
authorNeil Roberts <neil@linux.intel.com>
Wed, 9 Feb 2011 19:31:42 +0000 (19:31 +0000)
committerNeil Roberts <neil@linux.intel.com>
Thu, 10 Feb 2011 11:31:34 +0000 (11:31 +0000)
commit3afa732bcece85dabbccee3df225886a0af1a4bf
tree3ab84c14f19bcae890a252d3c9104f6e411ce1f1
parentced045148fa2b5af892f590f4e0708bfce40fe95
cogl-framebuffer: Remove all dependencies after a flush

After a dependent framebuffer is added to a framebuffer it was never
getting removed. Once the journal for a framebuffer is flushed we no
longer depend on any framebuffers so the list should be cleared. This
was causing leaks of offscreens and textures.
clutter/cogl/cogl/cogl-framebuffer.c