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
+1 -1
View File
@@ -67,7 +67,7 @@ Index of this file:
#endif
#endif
// Emscripten has partial SSE 4.2 support where _mm_crc32_u32 is not available. See https://emscripten.org/docs/porting/simd.html#id11 and #8213
#if defined(IMGUI_ENABLE_SSE4_2) && !defined(__EMSCRIPTEN__)
#if defined(IMGUI_ENABLE_SSE4_2) && !defined(IMGUI_USE_LEGACY_CRC32_ADLER) && !defined(__EMSCRIPTEN__)
#define IMGUI_ENABLE_SSE4_2_CRC
#endif