From 3f694c7335a0f779bafb2b8df9409679ea0df5ff Mon Sep 17 00:00:00 2001 From: Adel Gadllah Date: Sat, 16 Jul 2011 13:23:21 +0200 Subject: [PATCH] MetaTextureTower: Remove workaround for old clutter bug texture_tower_revalidate_fbo() called cogl_flush() to work around clutter bug #2110, which has been long fixed. As we depend on clutter 1.7.x anyway we can just remove that workaround. https://bugzilla.gnome.org/show_bug.cgi?id=654729 --- src/compositor/meta-texture-tower.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/compositor/meta-texture-tower.c b/src/compositor/meta-texture-tower.c index 97ef60195..73e12274d 100644 --- a/src/compositor/meta-texture-tower.c +++ b/src/compositor/meta-texture-tower.c @@ -430,12 +430,7 @@ texture_tower_revalidate_fbo (MetaTextureTower *tower, CoglMatrix modelview; if (tower->fbos[level] == COGL_INVALID_HANDLE) - { - /* Work around http://bugzilla.openedhand.com/show_bug.cgi?id=2110 */ - cogl_flush(); - - tower->fbos[level] = cogl_offscreen_new_to_texture (dest_texture); - } + tower->fbos[level] = cogl_offscreen_new_to_texture (dest_texture); if (tower->fbos[level] == COGL_INVALID_HANDLE) return FALSE;