Fix uint16 max issue in TextLabel 75/276475/4
authorBowon Ryu <bowon.ryu@samsung.com>
Fri, 17 Jun 2022 06:16:16 +0000 (15:16 +0900)
committerBowon Ryu <bowon.ryu@samsung.com>
Mon, 20 Jun 2022 00:49:36 +0000 (09:49 +0900)
If the size of TextLabel is bigger than uint16 max value,
there is a problem that assert occurs in Texture::New.

We can avoid the assert by setting the VisualTransform size to uint16 max,
but this also doesn't guaranteed rendering behavior.

To guaranteed the behavior, VisualTransform size is limitted to maxTextureSize.

Change-Id: I68523c89aecc71a9158e59948bca037d5c73c95a
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>

No differences found