summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdel Gadllah <adel.gadllah@gmail.com>2011-07-16 13:23:21 +0200
committerAdel Gadllah <adel.gadllah@gmail.com>2011-07-16 14:24:31 +0200
commit3f694c7335a0f779bafb2b8df9409679ea0df5ff (patch)
treef08e2e0e3a6999ff5ecd53ddb99fab877ab3b6c2
parent3da2f876bd2534495011655b9c13cc726a8316ac (diff)
downloadmutter-3f694c7335a0f779bafb2b8df9409679ea0df5ff.tar.gz
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
-rw-r--r--src/compositor/meta-texture-tower.c7
1 files changed, 1 insertions, 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;