From b9e393e6dd126125886e02cc71ed7bc9663dd2c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Tue, 16 Jan 2018 17:19:29 -0800 Subject: [PATCH] Fixed issue #1315. --- scripts/bgfx.lua | 2 +- src/bgfx_p.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/bgfx.lua b/scripts/bgfx.lua index e82e158ac..96da0f3a1 100644 --- a/scripts/bgfx.lua +++ b/scripts/bgfx.lua @@ -120,7 +120,7 @@ function bgfxProjectBase(_kind, _defines) "BGFX_CONFIG_DEBUG=1", } - configuration { "vs*", "not durango" } + configuration { "vs* or mingw-*", "not durango" } includedirs { path.join(BGFX_DIR, "3rdparty/dxsdk/include"), } diff --git a/src/bgfx_p.h b/src/bgfx_p.h index 47a3d0ea3..355e3af61 100644 --- a/src/bgfx_p.h +++ b/src/bgfx_p.h @@ -1315,7 +1315,7 @@ namespace bgfx uint32_t m_size; uint32_t m_pos; - char m_buffer[INT32_MAX]; + char m_buffer[256<<20]; }; struct UniformRegInfo