bgfx::submit() old preserveState parameter has been changed to a semantically opposite meaning, it is now a discard parameter, since this commit: https://github.com/bkaradzic/bgfx/commit/0881d98bd27dd4f8fd651ca82cba29b3ce9e3d58
This causes vg-renderer to silently always preserve state, when it intends to always discard it.
All instances of bgfx::submit() with two last arguments being 0, false should be fixed. (those parameters have default values, so in the future it is actually safer to omit them, to avoid a similar issue happening in the future)
bgfx::submit()
oldpreserveState
parameter has been changed to a semantically opposite meaning, it is now adiscard
parameter, since this commit: https://github.com/bkaradzic/bgfx/commit/0881d98bd27dd4f8fd651ca82cba29b3ce9e3d58 This causes vg-renderer to silently always preserve state, when it intends to always discard it. All instances of bgfx::submit() with two last arguments being0, false
should be fixed. (those parameters have default values, so in the future it is actually safer to omit them, to avoid a similar issue happening in the future)