mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-20 05:43:12 +01:00
Cleanup.
This commit is contained in:
@@ -2980,10 +2980,8 @@ namespace bgfx
|
||||
}
|
||||
}
|
||||
|
||||
// if (BGFX_STATE_TEX_MASK & changedFlags)
|
||||
{
|
||||
uint32_t changes = 0;
|
||||
uint64_t flag = BGFX_STATE_TEX0;
|
||||
for (uint32_t stage = 0; stage < BGFX_STATE_TEX_COUNT; ++stage)
|
||||
{
|
||||
const Sampler& sampler = draw.m_sampler[stage];
|
||||
@@ -3007,7 +3005,6 @@ namespace bgfx
|
||||
}
|
||||
|
||||
current = sampler;
|
||||
flag <<= 1;
|
||||
}
|
||||
|
||||
if (0 < changes)
|
||||
|
||||
Reference in New Issue
Block a user