diff --git a/cogl-texture.h b/cogl-texture.h index db239428e..4befd811d 100644 --- a/cogl-texture.h +++ b/cogl-texture.h @@ -488,7 +488,7 @@ void cogl_rectangles_with_texture_coords (const float *verts, * calling cogl_rectangle() separately for each rectangle. * * @verts should point to an array of #floats with - * @n_rects * 8 elements. Each group of 4 values corresponds to the + * @n_rects * 4 elements. Each group of 4 values corresponds to the * parameters x1, y1, x2, and y2, and have the same * meaning as in cogl_rectangle(). * diff --git a/gles/cogl-texture.c b/gles/cogl-texture.c index 9a5181221..575829336 100644 --- a/gles/cogl-texture.c +++ b/gles/cogl-texture.c @@ -2843,6 +2843,7 @@ _cogl_rectangles_with_multitexture_coords ( _cogl_journal_flush (); } + void cogl_rectangles (const float *verts, guint n_rects)