diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2019-03-07 05:08:33 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2019-03-07 05:08:33 +0000 |
| commit | 823e273c26321f5b4f7698fa964617bdc125b027 (patch) | |
| tree | facee749531d9e1661a4b96f6c17bb363bb659d6 /Graphics/GraphicsEngineD3DBase | |
| parent | Made engine factory interfaces derived from IObject (fixed https://github.com... (diff) | |
| download | DiligentCore-823e273c26321f5b4f7698fa964617bdc125b027.tar.gz DiligentCore-823e273c26321f5b4f7698fa964617bdc125b027.zip | |
Fixed minor issue with ShaderResources::GetShaderResourceDesc() function in D3D backend
Diffstat (limited to 'Graphics/GraphicsEngineD3DBase')
| -rw-r--r-- | Graphics/GraphicsEngineD3DBase/src/ShaderResources.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngineD3DBase/src/ShaderResources.cpp b/Graphics/GraphicsEngineD3DBase/src/ShaderResources.cpp index c52b2cee..df4122a4 100644 --- a/Graphics/GraphicsEngineD3DBase/src/ShaderResources.cpp +++ b/Graphics/GraphicsEngineD3DBase/src/ShaderResources.cpp @@ -343,7 +343,7 @@ ShaderResourceDesc ShaderResources::GetShaderResourceDesc(Uint32 Index)const ShaderResourceDesc ResourceDesc; if (Index < m_TotalResources) { - const auto& Res = GetResAttribs(Index, 0, m_TotalResources); + const auto& Res = GetResAttribs(Index, m_TotalResources, 0); ResourceDesc.Name = Res.Name; ResourceDesc.ArraySize = Res.BindCount; switch(Res.GetInputType()) |
