Define WIN32_LEAN_AND_MEAN if it's not defined when including windows.h.

This commit is contained in:
Branimir Karadžić
2021-10-13 20:18:03 -07:00
parent 84a38eede0
commit 46384208ad
4 changed files with 16 additions and 5 deletions

View File

@@ -226,8 +226,6 @@ namespace stl = std;
#if BX_PLATFORM_ANDROID
# include <android/native_window.h>
#elif BX_PLATFORM_WINDOWS
# include <windows.h>
#endif // BX_PLATFORM_*
#define BGFX_MAX_COMPUTE_BINDINGS BGFX_CONFIG_MAX_TEXTURE_SAMPLERS