shaped-texture: Remove bad comment
We do not assume ownership of the clip region anymore.
This commit is contained in:
parent
7186d0ce55
commit
8e1e0fc344
@ -583,8 +583,8 @@ meta_shaped_texture_get_texture (MetaShapedTexture *stex)
|
|||||||
/**
|
/**
|
||||||
* meta_shaped_texture_set_clip_region:
|
* meta_shaped_texture_set_clip_region:
|
||||||
* @stex: a #MetaShapedTexture
|
* @stex: a #MetaShapedTexture
|
||||||
* @clip_region: (transfer full): the region of the texture that
|
* @clip_region: the region of the texture that is visible and
|
||||||
* is visible and should be painted.
|
* should be painted.
|
||||||
*
|
*
|
||||||
* Provides a hint to the texture about what areas of the texture
|
* Provides a hint to the texture about what areas of the texture
|
||||||
* are not completely obscured and thus need to be painted. This
|
* are not completely obscured and thus need to be painted. This
|
||||||
|
@ -84,7 +84,6 @@ CoglTexture * meta_shaped_texture_get_texture (MetaShapedTexture *stex);
|
|||||||
void meta_shaped_texture_set_mask_texture (MetaShapedTexture *stex,
|
void meta_shaped_texture_set_mask_texture (MetaShapedTexture *stex,
|
||||||
CoglTexture *mask_texture);
|
CoglTexture *mask_texture);
|
||||||
|
|
||||||
/* Assumes ownership of clip_region */
|
|
||||||
void meta_shaped_texture_set_clip_region (MetaShapedTexture *stex,
|
void meta_shaped_texture_set_clip_region (MetaShapedTexture *stex,
|
||||||
cairo_region_t *clip_region);
|
cairo_region_t *clip_region);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user