From b340a8a42ecf10560891eab65d8c59a6f2640ccc Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Thu, 9 May 2019 18:07:13 -1000 Subject: [PATCH] Raise max texture count to 12 --- lib/graphicsdev/D3D11.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/graphicsdev/D3D11.cpp b/lib/graphicsdev/D3D11.cpp index d24025b..9529196 100644 --- a/lib/graphicsdev/D3D11.cpp +++ b/lib/graphicsdev/D3D11.cpp @@ -823,8 +823,8 @@ struct D3D11ShaderDataBinding : public GraphicsDataNode { } if (m_texs.size()) { - ID3D11ShaderResourceView* srvs[8] = {}; - for (int i = 0; i < 8 && i < m_texs.size(); ++i) { + ID3D11ShaderResourceView* srvs[12] = {}; + for (int i = 0; i < 12 && i < m_texs.size(); ++i) { if (m_texs[i].tex) { switch (m_texs[i].tex->type()) { case TextureType::Dynamic: {