mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-21 14:23:02 +01:00
Fixed framebuffer clear.
This commit is contained in:
@@ -1884,7 +1884,11 @@ namespace bgfx
|
||||
uint32_t size = read(&reader, instruction);
|
||||
BX_CHECK(size/4 == instruction.length, "read %d, expected %d", size/4, instruction.length); BX_UNUSED(size);
|
||||
|
||||
_fn(token * sizeof(uint32_t), instruction, _userData);
|
||||
bool cont = _fn(token * sizeof(uint32_t), instruction, _userData);
|
||||
if (!cont)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
token += instruction.length;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user