diff options
| -rw-r--r-- | tools/gfx/d3d12/render-d3d12.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gfx/d3d12/render-d3d12.cpp b/tools/gfx/d3d12/render-d3d12.cpp index 9f208f83c..74dc19dd7 100644 --- a/tools/gfx/d3d12/render-d3d12.cpp +++ b/tools/gfx/d3d12/render-d3d12.cpp @@ -2854,7 +2854,7 @@ void D3D12Renderer::DescriptorSetImpl::setSampler(UInt range, UInt index, ISampl #endif auto arrayIndex = rangeInfo.arrayIndex + index; - auto descriptorIndex = m_resourceTable + arrayIndex; + auto descriptorIndex = m_samplerTable + arrayIndex; m_samplerObjects[arrayIndex] = samplerImpl; dxDevice->CopyDescriptorsSimple( |
