Describe the bug
The free list of string handles does not work. The vertex shader currently works by checking all strings in-order. This means having strings that are not in order of offsets is wrong and breaks horribly.
Reproduction
Repros On: [tz_text_rendering_demo] (with local modifications to remove/add new strings over time)
Repro Type: unexpected behaviour
Repro Rate: every time
Repro Severity (how badly does it affect your bottom line): high
Repro Steps
cba.
Expected behavior
Users of text_renderer should be able to remove and then add new text without dodgy behaviour. They shouldn't need to worry about the internal sorting of strings having to be correct.
Screenshots
N/A
Conditions (please complete the following information):
Describe the bug The free list of string handles does not work. The vertex shader currently works by checking all strings in-order. This means having strings that are not in order of offsets is wrong and breaks horribly.
Reproduction
Expected behavior Users of text_renderer should be able to remove and then add new text without dodgy behaviour. They shouldn't need to worry about the internal sorting of strings having to be correct.
Screenshots N/A
Conditions (please complete the following information):