mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-25 00:58:30 -05:00
Cleanup.
This commit is contained in:
parent
ea88ba93fb
commit
24fa6eee76
1 changed files with 3 additions and 4 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue