Allow using array of vertices even without textures
authorJohan Bilien <jobi@litl.com>
Fri, 20 Mar 2009 19:22:23 +0000 (19:22 +0000)
committerRobert Bragg <robert@linux.intel.com>
Mon, 23 Mar 2009 12:41:41 +0000 (12:41 +0000)
commit13e5bd9e8be7e7b88924a97ea02eee4187a29238
treeaa2c9d429f2764b31ca8ee43482df05b97223535
parent5a06f1d1d009e446109b0778e7f9f9a1f8a11194
Allow using array of vertices even without textures

It's often nice to be able to draw a batch of vertices, even if these
have no texture coordinates. This add a cogl_rectangles, similar to
cogl_rectangles_with_texture_coords, only without.
clutter/cogl/cogl-texture.h
clutter/cogl/gl/cogl-texture.c
clutter/cogl/gles/cogl-texture.c