Added IMGUI_DISABLE_SSE (#4250, #4091)

This commit is contained in:
ocornut
2021-06-21 14:52:01 +02:00
parent 0905439c31
commit 98876b4dc2
2 changed files with 2 additions and 1 deletions

View File

@ -52,7 +52,7 @@ Index of this file:
#include <limits.h> // INT_MIN, INT_MAX
// Enable SSE intrinsics if available
#if defined __SSE__ || defined __x86_64__ || defined _M_X64
#if (defined __SSE__ || defined __x86_64__ || defined _M_X64) && !defined(IMGUI_DISABLE_SSE)
#define IMGUI_ENABLE_SSE
#include <immintrin.h>
#endif