[mutter] [mutter-shaped-texture] Remove material_workaround



commit a1bb3835ccd76ae5071e02569172b4c61bdf2cab
Author: Adel Gadllah <adel gadllah gmail com>
Date:   Sat Jul 31 12:27:27 2010 +0200

    [mutter-shaped-texture] Remove material_workaround
    
    It is no longer needed as the workaround has been removed in
    452025e9844e4fd0edb8769440e859b7d5e9a590,
    but the material is still around and unused.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=625712

 src/compositor/mutter-shaped-texture.c |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/src/compositor/mutter-shaped-texture.c b/src/compositor/mutter-shaped-texture.c
index 68315db..f788554 100644
--- a/src/compositor/mutter-shaped-texture.c
+++ b/src/compositor/mutter-shaped-texture.c
@@ -67,9 +67,6 @@ struct _MutterShapedTexturePrivate
   CoglHandle mask_texture;
   CoglHandle material;
   CoglHandle material_unshaped;
-#if 1 /* see workaround comment in mutter_shaped_texture_paint */
-  CoglHandle material_workaround;
-#endif
 
   MetaRegion *clip_region;
 
@@ -132,13 +129,6 @@ mutter_shaped_texture_dispose (GObject *object)
       cogl_handle_unref (priv->material_unshaped);
       priv->material_unshaped = COGL_INVALID_HANDLE;
     }
-#if 1 /* see comment in mutter_shaped_texture_paint */
-  if (priv->material_workaround != COGL_INVALID_HANDLE)
-    {
-      cogl_handle_unref (priv->material_workaround);
-      priv->material_workaround = COGL_INVALID_HANDLE;
-    }
-#endif
 
   mutter_shaped_texture_set_clip_region (self, NULL);
 



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