summaryrefslogtreecommitdiffstats
path: root/tools/render-test/render-d3d11.cpp
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2018-03-26 16:10:43 -0400
committerGitHub <noreply@github.com>2018-03-26 16:10:43 -0400
commit6d400b6944c56dbe0d5507288a2944e2f1710821 (patch)
treeb9e142dd215782c8c00951f073b0bb445d40b929 /tools/render-test/render-d3d11.cpp
parent74bf38b36d9074a83a53d3baf885d8886c0b3752 (diff)
Fix signed/unsigned comparison warning. (#455)
Diffstat (limited to 'tools/render-test/render-d3d11.cpp')
-rw-r--r--tools/render-test/render-d3d11.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/render-test/render-d3d11.cpp b/tools/render-test/render-d3d11.cpp
index 35c04a79f..fb3d44f4d 100644
--- a/tools/render-test/render-d3d11.cpp
+++ b/tools/render-test/render-d3d11.cpp
@@ -667,7 +667,7 @@ void D3D11Renderer::setConstantBuffers(UInt startSlot, UInt slotCount, Buffer*co
// Copy out the actual dx buffers
ID3D11Buffer* dxBuffers[kMaxConstantBuffers];
- for (int i = 0; i < slotCount; i++)
+ for (UInt i = 0; i < slotCount; i++)
{
dxBuffers[i] = buffers[i]->m_buffer;
}