[docs] switch gl_handle+gl_target docs for cogl_texture_new_from_foreign
authorRobert Bragg <robert@linux.intel.com>
Thu, 30 Jul 2009 11:06:02 +0000 (12:06 +0100)
committerRobert Bragg <robert@linux.intel.com>
Fri, 16 Oct 2009 17:58:51 +0000 (18:58 +0100)
The descriptions for gl_handle and gl_target were inverted.

Thanks to Young-Ho Cha for spotting that.

Signed-off-by: Robert Bragg <robert@linux.intel.com>
clutter/cogl/cogl/cogl-texture.h

index 06e8593..1b37936 100644 (file)
@@ -124,8 +124,8 @@ CoglHandle      cogl_texture_new_from_data    (guint             width,
 
 /**
  * cogl_texture_new_from_foreign:
- * @gl_handle: opengl target type of foreign texture
- * @gl_target: opengl handle of foreign texture.
+ * @gl_handle: opengl handle of foreign texture.
+ * @gl_target: opengl target type of foreign texture
  * @width: width of foreign texture
  * @height: height of foreign texture.
  * @x_pot_waste: maximum horizontal waste.