Skip to content

Commit 54c9543

Browse files
XgarhontXFiloppi
authored andcommitted
shader_define.h: MAX_SHADER_DEFINES_OVERRIDE
1 parent 04ea7ea commit 54c9543

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎Source/Core/includes/shader_define.h‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
namespace Shader
44
{
55
constexpr uint32_t MAX_SHADER_DEFINES = // Avoid setting this too big as it bloats the ReShade config whether used or not. Don't go beyond 100 (max array index 99) without changing code related to this.
6-
#if DEVELOPMENT || TEST
6+
#ifdef MAX_SHADER_DEFINES_OVERRIDE
7+
MAX_SHADER_DEFINES_OVERRIDE;
8+
#elif DEVELOPMENT || TEST
79
50;
810
#else
911
30;

0 commit comments

Comments
 (0)