Fix the documentation for clutter_texture_set_cogl_material

The documentation was a copy of the docs for set_cogl_texture so it
was somewhat broken.
This commit is contained in:
Neil Roberts 2009-08-26 18:24:48 +01:00
parent b766a1cc10
commit bad7782ab4

View File

@ -1292,9 +1292,14 @@ clutter_texture_get_cogl_material (ClutterTexture *texture)
* @texture: A #ClutterTexture * @texture: A #ClutterTexture
* @cogl_material: A CoglHandle for a material * @cogl_material: A CoglHandle for a material
* *
* Replaces the underlying COGL texture drawn by this actor with * Replaces the underlying Cogl material drawn by this actor with
* @cogl_tex. A reference to the texture is taken so if the handle is * @cogl_material. A reference to the material is taken so if the
* no longer needed it should be deref'd with cogl_handle_unref. * handle is no longer needed it should be deref'd with
* cogl_handle_unref. Texture data is attached to the material so
* calling this function also replaces the Cogl
* texture. #ClutterTexture requires that the material have a texture
* layer so you should set one on the material before calling this
* function.
* *
* Since: 0.8 * Since: 0.8
* *