mirror of https://github.com/AxioDL/boo.git
Raise max texture count to 12
This commit is contained in:
parent
3ad748f28b
commit
b340a8a42e
|
@ -823,8 +823,8 @@ struct D3D11ShaderDataBinding : public GraphicsDataNode<IShaderDataBinding> {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (m_texs.size()) {
|
if (m_texs.size()) {
|
||||||
ID3D11ShaderResourceView* srvs[8] = {};
|
ID3D11ShaderResourceView* srvs[12] = {};
|
||||||
for (int i = 0; i < 8 && i < m_texs.size(); ++i) {
|
for (int i = 0; i < 12 && i < m_texs.size(); ++i) {
|
||||||
if (m_texs[i].tex) {
|
if (m_texs[i].tex) {
|
||||||
switch (m_texs[i].tex->type()) {
|
switch (m_texs[i].tex->type()) {
|
||||||
case TextureType::Dynamic: {
|
case TextureType::Dynamic: {
|
||||||
|
|
Loading…
Reference in New Issue