[cogl-texture] Fix offset to next quad when flushing the log
authorNeil Roberts <neil@linux.intel.com>
Thu, 5 Feb 2009 19:48:00 +0000 (19:48 +0000)
committerNeil Roberts <neil@linux.intel.com>
Thu, 5 Feb 2009 20:29:25 +0000 (20:29 +0000)
commit05c7e5a97c0c059ed2f1fd20f55beae22eaf83c1
tree1e9adef71b152f13acc6dd3faf53181290b16332
parenta4de12dbe8165c3acd453804af36d46e4405b1ba
[cogl-texture] Fix offset to next quad when flushing the log

When the quad log contains multiple textures (such as when a sliced
texture is drawn) it dispatches the log with multiple calls to
flush_quad_batch and walks a pointer along the list of vertices.
However this pointer was being incremented by only one vertex so the
next quad would be drawn with three of the vertices from the last
quad.
clutter/cogl/gl/cogl-texture.c
clutter/cogl/gles/cogl-texture.c