Robert Bragg 56bc54d242 [cogl_polygon] fixes a buffer overrun and color format bug
We were calculating our vertex stride and allocating our vertex array
differently depending on whether the user passed TRUE for use_color or not.
The problem was that we were always writting color data to the array
regardless of use_color.

There was also a bug with _cogl_texture_sliced_polygon in that it was
writing byte color components but we were expecting float components.  We
now use byte components in _cogl_multitexture_unsliced_polygon too and pass
GL_UNSIGNED_BYTE to glColorPointer.
2009-06-29 23:49:06 +01:00
..
2009-06-09 14:47:36 +01:00
2009-06-18 14:20:28 +01:00
2009-06-17 15:09:16 +01:00
2009-06-18 14:20:28 +01:00
2009-06-18 14:20:28 +01:00
2009-06-19 15:12:32 +01:00
2009-01-20 18:47:50 +00:00
2009-06-09 14:47:36 +01:00
2009-06-09 14:47:36 +01:00
2009-03-13 14:29:27 +00:00