[cogl] doc: cogl_texture_2d_new_from_foreign() has been renamed



commit 8b061912f31fab2a03265f0c4463a2d9753dde57
Author: Damien Lespiau <damien lespiau intel com>
Date:   Sun Dec 30 19:25:21 2012 +0000

    doc: cogl_texture_2d_new_from_foreign() has been renamed
    
    With the addition of _gl in its name.

 cogl/cogl-texture-2d-gl.h              |    2 +-
 doc/reference/cogl2/cogl2-sections.txt |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/cogl/cogl-texture-2d-gl.h b/cogl/cogl-texture-2d-gl.h
index 6c2c3fa..1547d9b 100644
--- a/cogl/cogl-texture-2d-gl.h
+++ b/cogl/cogl-texture-2d-gl.h
@@ -42,7 +42,7 @@ COGL_BEGIN_DECLS
  * @gl_handle: A GL handle for a GL_TEXTURE_2D texture object
  * @width: Width of the foreign GL texture
  * @height: Height of the foreign GL texture
- * @internal_format: The format of the texture
+ * @format: The format of the texture
  * @error: A #CoglError for exceptions
  *
  * Wraps an existing GL_TEXTURE_2D texture object as a #CoglTexture2D.
diff --git a/doc/reference/cogl2/cogl2-sections.txt b/doc/reference/cogl2/cogl2-sections.txt
index 39e0ba6..37c1e59 100644
--- a/doc/reference/cogl2/cogl2-sections.txt
+++ b/doc/reference/cogl2/cogl2-sections.txt
@@ -296,7 +296,7 @@ CoglTexture2D
 cogl_texture_2d_new_with_size
 cogl_texture_2d_new_from_bitmap
 cogl_texture_2d_new_from_data
-cogl_texture_2d_new_from_foreign
+cogl_texture_2d_gl_new_from_foreign
 cogl_is_texture_rectangle
 </SECTION>
 



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