Misc: Added IMGUI_USE_LEGACY_CRC32_ADLER to use old tables. (#8169, #4933)

This commit is contained in:
ocornut
2024-12-11 12:13:28 +01:00
parent d78e823449
commit c3ffd4c53e
5 changed files with 37 additions and 7 deletions
+8 -3
View File
@@ -48,9 +48,14 @@ Breaking changes:
- We provide convenience legacy fields to pass a single descriptor,
matching the old API, but upcoming features will want multiple.
- Legacy ImGui_ImplDX12_Init() signature is still supported (will obsolete).
- Misc: changed CRC32 table to use CRC32c polynomial in order to be compatible
with the result of SSE 4.2 instructions. As a result, old .ini data may be
partially lost. (#8169, #4933) [@Teselka]
- Misc: changed CRC32 table from CRC32-adler to CRC32c polynomial in order to
be compatible with the result of SSE 4.2 instructions. (#8169, #4933) [@Teselka]
- As a result, some .ini data may be partially lost when storing checksums
(docking and tables information particularly).
- Because some users have crafted and storing .ini data as a way to workaround
limitations of the docking API, we are providing a '#define IMGUI_USE_LEGACY_CRC32_ADLER'
compile-time option to keep using old CRC32 tables if you cannot afford invalidating
old .ini data.
Other changes: