diff options
Diffstat (limited to 'tools/gfx/simple-render-pass-layout.cpp')
| -rw-r--r-- | tools/gfx/simple-render-pass-layout.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gfx/simple-render-pass-layout.cpp b/tools/gfx/simple-render-pass-layout.cpp index 8821df87c..1c937e708 100644 --- a/tools/gfx/simple-render-pass-layout.cpp +++ b/tools/gfx/simple-render-pass-layout.cpp @@ -15,7 +15,7 @@ IRenderPassLayout* SimpleRenderPassLayout::getInterface(const Slang::Guid& guid) void SimpleRenderPassLayout::init(const IRenderPassLayout::Desc& desc) { m_renderTargetAccesses.setCount(desc.renderTargetCount); - for (uint32_t i = 0; i < desc.renderTargetCount; i++) + for (GfxIndex i = 0; i < desc.renderTargetCount; i++) m_renderTargetAccesses[i] = desc.renderTargetAccess[i]; m_hasDepthStencil = (desc.depthStencilAccess != nullptr); if (m_hasDepthStencil) |
