mirror of
https://github.com/brl/mutter.git
synced 2024-11-29 03:20:46 -05:00
[mutter-shaped-texture] Remove material_workaround
It is no longer needed as the workaround has been removed in
452025e984
,
but the material is still around and unused.
https://bugzilla.gnome.org/show_bug.cgi?id=625712
This commit is contained in:
parent
e590cd2b99
commit
a1bb3835cc
@ -67,9 +67,6 @@ struct _MutterShapedTexturePrivate
|
|||||||
CoglHandle mask_texture;
|
CoglHandle mask_texture;
|
||||||
CoglHandle material;
|
CoglHandle material;
|
||||||
CoglHandle material_unshaped;
|
CoglHandle material_unshaped;
|
||||||
#if 1 /* see workaround comment in mutter_shaped_texture_paint */
|
|
||||||
CoglHandle material_workaround;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
MetaRegion *clip_region;
|
MetaRegion *clip_region;
|
||||||
|
|
||||||
@ -132,13 +129,6 @@ mutter_shaped_texture_dispose (GObject *object)
|
|||||||
cogl_handle_unref (priv->material_unshaped);
|
cogl_handle_unref (priv->material_unshaped);
|
||||||
priv->material_unshaped = COGL_INVALID_HANDLE;
|
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);
|
mutter_shaped_texture_set_clip_region (self, NULL);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user