From fce07bb1cb4cdd64dbf825223b74be1d9b28b76b Mon Sep 17 00:00:00 2001 From: ocornut Date: Mon, 9 Dec 2024 12:43:49 +0100 Subject: [PATCH] Don't enable SSE4 under Emscripten - Fix. (#8213, #8169, #4933) --- imgui_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui_internal.h b/imgui_internal.h index f11f272c3..cccecf702 100644 --- a/imgui_internal.h +++ b/imgui_internal.h @@ -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(__EMSCRIPTEN__) #define IMGUI_ENABLE_SSE4_2_CRC #endif