mirror of
https://github.com/ocornut/imgui.git
synced 2026-11-06 06:25:54 +01:00
Misc: fixed strict aliasing violation in ImHashData(). (#9557)
The SSE4.2 path read the input through an `ImU32` pointer but callers hash floats, pointers and structs. With clang 23 and LTO (such as `-O2 -msse4.2 -flto -fuse-ld=lld`) the float stores in `ImFontAtlasBakedGetId()` were optimized away, so every size of a font got the same `BakedId`.
This commit is contained in:
parent
aa0181478b
commit
3831352fa4
Loading…
x
Reference in New Issue
Block a user