From 3bd130ebced635cda3e1e9939dc696caabe18a5a Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Thu, 24 Mar 2016 09:40:29 +0100 Subject: [PATCH] Change BGFX_CONFIG_MAX_FRAME_BUFFERS on proper way (nw) --- 3rdparty/bgfx/src/config.h | 2 +- scripts/src/3rdparty.lua | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/3rdparty/bgfx/src/config.h b/3rdparty/bgfx/src/config.h index f9e4ddd2408..d16e1b97dc7 100644 --- a/3rdparty/bgfx/src/config.h +++ b/3rdparty/bgfx/src/config.h @@ -266,7 +266,7 @@ #endif // BGFX_CONFIG_MAX_TEXTURE_SAMPLERS #ifndef BGFX_CONFIG_MAX_FRAME_BUFFERS -# define BGFX_CONFIG_MAX_FRAME_BUFFERS 128 +# define BGFX_CONFIG_MAX_FRAME_BUFFERS 64 #endif // BGFX_CONFIG_MAX_FRAME_BUFFERS #ifndef BGFX_CONFIG_MAX_FRAME_BUFFER_ATTACHMENTS diff --git a/scripts/src/3rdparty.lua b/scripts/src/3rdparty.lua index 9925c36658d..ecd83a5ae99 100644 --- a/scripts/src/3rdparty.lua +++ b/scripts/src/3rdparty.lua @@ -761,6 +761,7 @@ end "__STDC_LIMIT_MACROS", "__STDC_FORMAT_MACROS", "__STDC_CONSTANT_MACROS", + "BGFX_CONFIG_MAX_FRAME_BUFFERS=128", } files { MAME_DIR .. "3rdparty/bgfx/src/bgfx.cpp",