For some reason, I have to display texts retrieved online and the texts sometimes might be too long to be displayed due to texture memory limitation.
I got warnings like this one:
WARNING: The text object containing the following text will not render correctly because the height (19004) exceeds max texture dimensions (16384)
However, there is no error returned in the Lua code.
Is it possible to detect this warning/error in my code? so that I can display some warning/error message in my app?
If not, the whole area becomes a long “empty” space, a very strange/bad user experience.
The texture memory limitations vary between devices, therefore I cannot just set a “fixed” maximum number of texts to be displayed.