cogl-framebuffer: Flush journal when creating fbo
cogl-framebuffer: Flush journal when creating fbo

Since framebuffer state is not flushed prior to replaying the journal,
the trick of marking the framebuffer dirty prior to calling
glBindFramebuffer() doesn't work... the outstanding journal entries
will get replayed to the newly created framebuffer.

Fix this by flushing the journal as well.

http://bugzilla.openedhand.com/show_bug.cgi?id=2110

Signed-off-by: Robert Bragg <12e9293ec6b30c7fa8a0926af42807e929c1684f@linux.intel.com>

djdeath/clutter,djdeath/clutter-android,jigpu/clutter,djdeath/clutter-android,heysion/clutter-clone,ebassi/clutter,ebassi/clutter,Distrotech/clutter,jigpu/clutter,djdeath/clutter-android,djdeath/clutter-android,collects/clutter,rkudiyarov/clutter_osx,ebassi/clutter,Distrotech/clutter,jigpu/clutter,kerrickstaley/clutter-vala,jigpu/clutter,djdeath/clutter-multithreaded,jigpu/clutter,ebassi/clutter,rkudiyarov/clutter_osx,jigpu/clutter,kerrickstaley/clutter-vala,kerrickstaley/clutter-vala,collects/clutter,nobled/clutter,GNOME/clutter,nobled/clutter,rkudiyarov/clutter_osx,spatulasnout/clutter,spatulasnout/clutter,heysion/clutter-clone,djdeath/clutter-multithreaded,GNOME/clutter,heysion/clutter-clone,djdeath/clutter-multithreaded,collects/clutter,dlespiau/clutter,djdeath/clutter-multithreaded,Distrotech/clutter,djdeath/clutter,djdeath/clutter,GNOME/clutter,rkudiyarov/clutter_osx,Distrotech/clutter,collects/clutter,Distrotech/clutter,GNOME/clutter,spatulasnout/clutter,djdeath/clutter,heysion/clutter-clone,nobled/clutter,dlespiau/clutter,spatulasnout/clutter,djdeath/clutter-android,ebassi/clutter,GNOME/clutter,collects/clutter,djdeath/clutter,Distrotech/clutter,dlespiau/clutter,djdeath/clutter,kerrickstaley/clutter-vala,spatulasnout/clutter,heysion/clutter-clone