mirror of
https://github.com/brl/mutter.git
synced 2025-03-06 05:08:11 +00:00

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.
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%