I found there is a info about max texture size in system.getInfo()
maxTextureSize "maxTextureSize" returns the maximum texture width or height supported by the device.
How to use this info?
Sometimes I use display.newText() to show large amount of texts and it may go totally blank. The reason, as Corona staff explained, is because it exceeds the maximum texture size allowed in the device.
So is it possible to use this info to determine if the texts I am going to show will exceed the maximum texture size? If so, I can try to cut off some texts instead of showing “blank screen”.
I print out the maxTextureSize in the Simulator, and it is “16384”… do you know how it is calculated and how I can use it to determine if the texture size used in a display.newText() call would exceed it?