[Cogl] [PATCH 27/53] doc: cogl_texture_2d_new_from_foreign() has been renamed

Damien Lespiau damien.lespiau at gmail.com
Tue Jan 1 06:31:03 PST 2013


From: Damien Lespiau <damien.lespiau at intel.com>

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>
 
-- 
1.7.7.5



More information about the Cogl mailing list