[cogl-vertex-buffer] Add a flush of attribute changes in the *_draw() functions
authorRobert Bragg <robert@linux.intel.com>
Sat, 28 Feb 2009 17:36:25 +0000 (17:36 +0000)
committerRobert Bragg <robert@linux.intel.com>
Mon, 16 Mar 2009 16:14:17 +0000 (16:14 +0000)
commit075ae9c4a74b5e7af248c27ef57d2d0b4948a74a
treeb1bc108590bde10e918f88f9e8176a582c2c0746
parenta93a93d007b7c3ccc407482aaf521bd6b5d6607e
[cogl-vertex-buffer] Add a flush of attribute changes in the *_draw() functions

For convenience it is now valid to avoid a seperate call to
cogl_vertex_buffer_submit() and assume that the _draw() calls will do this
for you (though of course if you do this you still need to ensure the
attribute pointers remain valid until your draw call.)
clutter/cogl/cogl-vertex-buffer.h
clutter/cogl/common/cogl-vertex-buffer.c