summaryrefslogtreecommitdiff
path: root/cogl/cogl-texture.h
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@linux.intel.com>2010-01-04 11:43:00 +0000
committerEmmanuele Bassi <ebassi@linux.intel.com>2010-01-04 11:43:00 +0000
commitde5c84c4536f4d46ad555ec73895c90a2b773b14 (patch)
tree3ff5bd649f0b0f9a39ee0544d488b0386ee51a03 /cogl/cogl-texture.h
parentc6e20029643f4fb6581c3fe89efb2b676bef982f (diff)
downloadcogl-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.h6
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