summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngine
diff options
context:
space:
mode:
Diffstat (limited to 'Graphics/GraphicsEngine')
-rw-r--r--Graphics/GraphicsEngine/include/PipelineStateBase.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngine/include/PipelineStateBase.hpp b/Graphics/GraphicsEngine/include/PipelineStateBase.hpp
index d094d91b..df57c671 100644
--- a/Graphics/GraphicsEngine/include/PipelineStateBase.hpp
+++ b/Graphics/GraphicsEngine/include/PipelineStateBase.hpp
@@ -446,7 +446,7 @@ protected:
};
ShaderStages.clear();
- ShaderStages.resize(6);
+ ShaderStages.resize(MAX_SHADERS_IN_PIPELINE);
for (Uint32 i = 0; i < CreateInfo.GeneralShaderCount; ++i)
{