mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 08:30:42 -05:00
[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:
parent
13e5bd9e8b
commit
b30bb575a1
@ -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 #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
|
||||
* meaning as in cogl_rectangle().
|
||||
*
|
||||
|
@ -2843,6 +2843,7 @@ _cogl_rectangles_with_multitexture_coords (
|
||||
|
||||
_cogl_journal_flush ();
|
||||
}
|
||||
|
||||
void
|
||||
cogl_rectangles (const float *verts,
|
||||
guint n_rects)
|
||||
|
Loading…
Reference in New Issue
Block a user