mirror of
https://github.com/ocornut/imgui.git
synced 2026-09-26 16:05:45 +03:00
Merge 3831352fa4 into aa0181478b
This commit is contained in:
commit
3bcb9a7a7c
1 changed files with 1 additions and 1 deletions
|
|
@ -2493,7 +2493,7 @@ ImGuiID ImHashData(const void* data_p, size_t data_size, ImGuiID seed)
|
|||
#else
|
||||
while (data + 4 <= data_end)
|
||||
{
|
||||
crc = _mm_crc32_u32(crc, *(ImU32*)data);
|
||||
ImU32 v; memcpy(&v, data, sizeof(v)); crc = _mm_crc32_u32(crc, v);
|
||||
data += 4;
|
||||
}
|
||||
while (data < data_end)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue