mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 10:00:45 -05:00
Read-only mirror of https://gitlab.gnome.org/GNOME/mutter
a866f2f4f4
In cogl_pipeline_set_layer_combine_constant it was comparing whether the new color is the same as the old color using a memcmp on the constant_color parameter. However the combine constant is stored in the layer data as an array of four floats but the passed in color is a CoglColor (which is currently an array of four guint8s). This was causing valgrind errors and presumably also the check for setting the same color twice would always fail. This patch makes it do the conversion to a float array upfront before the comparison. |
||
---|---|---|
cogl | ||
doc | ||
pango | ||
Makefile.am |