mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 08:30:42 -05:00
[docs] Remove misleading text
The documentation for ClutterTexture's set_from_rgb_data() and set_from_yuv_data() says: Note: This function is likely to change in future versions. This is not true, since they'll remain for the whole 1.x API cycle.
This commit is contained in:
parent
3b70e0b6b7
commit
8b71fa1acb
@ -1522,25 +1522,23 @@ clutter_texture_set_from_data (ClutterTexture *texture,
|
||||
*
|
||||
* Sets #ClutterTexture image data.
|
||||
*
|
||||
* Note: This function is likely to change in future versions.
|
||||
*
|
||||
* Return value: %TRUE on success, %FALSE on failure.
|
||||
*
|
||||
* Since: 0.4.
|
||||
**/
|
||||
*/
|
||||
gboolean
|
||||
clutter_texture_set_from_rgb_data (ClutterTexture *texture,
|
||||
const guchar *data,
|
||||
gboolean has_alpha,
|
||||
gint width,
|
||||
gint height,
|
||||
gint rowstride,
|
||||
gint bpp,
|
||||
ClutterTextureFlags flags,
|
||||
GError **error)
|
||||
clutter_texture_set_from_rgb_data (ClutterTexture *texture,
|
||||
const guchar *data,
|
||||
gboolean has_alpha,
|
||||
gint width,
|
||||
gint height,
|
||||
gint rowstride,
|
||||
gint bpp,
|
||||
ClutterTextureFlags flags,
|
||||
GError **error)
|
||||
{
|
||||
ClutterTexturePrivate *priv;
|
||||
CoglPixelFormat source_format;
|
||||
CoglPixelFormat source_format;
|
||||
|
||||
g_return_val_if_fail (CLUTTER_IS_TEXTURE (texture), FALSE);
|
||||
|
||||
@ -1593,8 +1591,6 @@ clutter_texture_set_from_rgb_data (ClutterTexture *texture,
|
||||
* Sets a #ClutterTexture from YUV image data. If an error occurred,
|
||||
* %FALSE is returned and @error is set.
|
||||
*
|
||||
* This function is likely to change in future versions.
|
||||
*
|
||||
* Return value: %TRUE if the texture was successfully updated
|
||||
*
|
||||
* Since: 0.4
|
||||
|
Loading…
Reference in New Issue
Block a user