[mutter] MetaTextureTower: Remove workaround for old clutter bug



commit 3f694c7335a0f779bafb2b8df9409679ea0df5ff
Author: Adel Gadllah <adel gadllah gmail com>
Date:   Sat Jul 16 13:23:21 2011 +0200

    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 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/src/compositor/meta-texture-tower.c b/src/compositor/meta-texture-tower.c
index 97ef601..73e1227 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;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]