1
0
mirror of https://github.com/ocornut/imgui.git synced 2024-12-22 04:26:00 +01:00

Don't enable SSE4 under Emscripten - Fix. (, , )

This commit is contained in:
ocornut 2024-12-09 12:43:49 +01:00
parent 53dd7552dc
commit fce07bb1cb

View File

@ -67,7 +67,7 @@ Index of this file:
#endif #endif
#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 // 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(__EMSCRIPTEN__)
#define IMGUI_ENABLE_SSE4_2_CRC #define IMGUI_ENABLE_SSE4_2_CRC
#endif #endif