Skip to content

Commit

Permalink
Cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
bkaradzic committed Aug 23, 2015
1 parent ea88ba9 commit 24fa6ee
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/renderer_d3d12.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4470,11 +4470,10 @@ data.NumQualityLevels = 0;
m_batch.flush(m_commandList);
}

for (uint32_t bindHash = bx::hashMurmur2A(draw.m_bind, sizeof(draw.m_bind) )
; currentBindHash != bindHash
; currentBindHash = bindHash
)
if (currentBindHash != bindHash)
{
currentBindHash = bindHash;

D3D12_GPU_DESCRIPTOR_HANDLE* srv = bindLru.find(bindHash);
if (NULL == srv)
{
Expand Down

0 comments on commit 24fa6ee

Please sign in to comment.