You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consider a bitmap with width equal to 1024.
Suppose, in TBBitmapFragmentManager::CreateNewFragment we fail to allocate this image in an existing atlas. So, we create a new atlas with width equal to nearest power of 2 of 1024 (which is 1024). So, we creating new TBBitmapFragmentMap and trying to place new bitmap into it (fm->CreateNewFragment). But this function adds a border of 2 pixels by default, so we fail to place new image here and the function returns null. As a result image is not displayed.
The text was updated successfully, but these errors were encountered:
Consider a bitmap with width equal to 1024.
Suppose, in
TBBitmapFragmentManager::CreateNewFragment
we fail to allocate this image in an existing atlas. So, we create a new atlas with width equal to nearest power of 2 of 1024 (which is 1024). So, we creatingnew TBBitmapFragmentMap
and trying to place new bitmap into it (fm->CreateNewFragment
). But this function adds a border of 2 pixels by default, so we fail to place new image here and the function returns null. As a result image is not displayed.The text was updated successfully, but these errors were encountered: