1
0
Fork 0
mutter-performance-source/cogl
Sebastian Wick a0a1d102a0 cogl/bitmap-conversion: Don't break strict-aliasing for flt_pack/unpack
Simply reinterpreting the bytes differently is a strict-aliasing
violation if the type of the object isn't char or the target type of the
reinterpretation. None of that is the case here, so we have to resort to
a memcpy.

Fixes: 60c082caa ("cogl/bitmap-conversion: Support packing fp16 formats")
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3499>
2024-01-09 14:43:16 +00:00
..
cogl cogl/bitmap-conversion: Don't break strict-aliasing for flt_pack/unpack 2024-01-09 14:43:16 +00:00
cogl-pango cogl/pango: Drop PANGO_ENABLE_BACKEND usage 2024-01-05 14:22:22 +01:00
meson.build build: Make use of defined req variables 2024-01-03 12:09:46 +00:00