[cogl_rectangles] A minor doc fix, and missing newline between functions

The gtk-doc had a copy and paste error, saying the float array should be 8
elements per rectangle instead of 4. There was also no newline in the gles
code before the new function.
This commit is contained in:
Robert Bragg 2009-03-23 11:39:40 +00:00
parent 13e5bd9e8b
commit b30bb575a1
2 changed files with 2 additions and 1 deletions

View File

@ -488,7 +488,7 @@ void cogl_rectangles_with_texture_coords (const float *verts,
* calling cogl_rectangle() separately for each rectangle. * calling cogl_rectangle() separately for each rectangle.
* *
* @verts should point to an array of #float<!-- -->s with * @verts should point to an array of #float<!-- -->s 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 * parameters x1, y1, x2, and y2, and have the same
* meaning as in cogl_rectangle(). * meaning as in cogl_rectangle().
* *

View File

@ -2843,6 +2843,7 @@ _cogl_rectangles_with_multitexture_coords (
_cogl_journal_flush (); _cogl_journal_flush ();
} }
void void
cogl_rectangles (const float *verts, cogl_rectangles (const float *verts,
guint n_rects) guint n_rects)