|
|
@@ -1581,7 +1581,7 @@ namespace bgfx
|
|
|
{
|
|
|
_constantBuffer.reset();
|
|
|
|
|
|
- do
|
|
|
+ for (;;)
|
|
|
{
|
|
|
uint32_t opcode = _constantBuffer.read();
|
|
|
|
|
|
@@ -1661,7 +1661,7 @@ namespace bgfx
|
|
|
|
|
|
#undef CASE_IMPLEMENT_UNIFORM
|
|
|
|
|
|
- } while (true);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
void clearQuad(ClearQuad& _clearQuad, const Rect& _rect, const Clear& _clear, uint32_t _height = 0)
|