Examples: disable MSVC warning C5287 in nuklear.h

Latest MSVC has a warning `operands are different enum types` which this disables until upstream nuklear fixes this
This commit is contained in:
Doug Binks 2025-07-05 19:12:15 +02:00
parent e7ea71be03
commit d30d63313c

5
deps/nuklear.h vendored
View File

@ -423,6 +423,11 @@ NK_STATIC_ASSERT(sizeof(nk_rune) >= 4);
NK_STATIC_ASSERT(sizeof(nk_size) >= sizeof(void*));
NK_STATIC_ASSERT(sizeof(nk_ptr) >= sizeof(void*));
#if defined(_MSC_VER)
/* disable `operands are different enum types` warning on MSVC */
#pragma warning( disable: 5287 )
#endif
/* ============================================================================
*
* API