diff options
author | Emmanuele Bassi <ebassi@linux.intel.com> | 2010-01-04 11:43:00 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@linux.intel.com> | 2010-01-04 11:43:00 +0000 |
commit | de5c84c4536f4d46ad555ec73895c90a2b773b14 (patch) | |
tree | 3ff5bd649f0b0f9a39ee0544d488b0386ee51a03 /cogl/cogl-texture.h | |
parent | c6e20029643f4fb6581c3fe89efb2b676bef982f (diff) | |
download | cogl-de5c84c4536f4d46ad555ec73895c90a2b773b14.tar.gz |
cogl: Const-ify vertices in cogl_polygon()
The CoglTextureVertex array passed to cogl_polygon() is a pure
in-argument and should be const-ified.
http://bugzilla.openedhand.com/show_bug.cgi?id=1917
Diffstat (limited to 'cogl/cogl-texture.h')
-rw-r--r-- | cogl/cogl-texture.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cogl/cogl-texture.h b/cogl/cogl-texture.h index b831d1ae..7859abd1 100644 --- a/cogl/cogl-texture.h +++ b/cogl/cogl-texture.h @@ -466,9 +466,9 @@ void cogl_rectangles (const float *verts, * * Since: 1.0 */ -void cogl_polygon (CoglTextureVertex *vertices, - guint n_vertices, - gboolean use_color); +void cogl_polygon (const CoglTextureVertex *vertices, + guint n_vertices, + gboolean use_color); G_END_DECLS |