summaryrefslogtreecommitdiff
path: root/indra/llwindow/llwindow.cpp
diff options
context:
space:
mode:
authorTommyTheTerrible <81168766+TommyTheTerrible@users.noreply.github.com>2025-05-05 03:00:36 -0400
committerGitHub <noreply@github.com>2025-05-05 10:00:36 +0300
commitac5d59b9392dbd107ff6e8ac05ab8a3cd48fd694 (patch)
treecbd8a095936b809ec549bb41c3310ac1a113540b /indra/llwindow/llwindow.cpp
parent65d70a8d8f211b462481e93f919a100c8b3b2af5 (diff)
calcDataSizeJ2C Adjust curve for more than 6 layers (#4018, #4020)
KDU is uploading 2k files with 7 and 8 layers which is shifting the location of discard 1 and 2. To accommodate, this commit adds a max_layer check based on max_dimension and the MAX_BLOCK_SIZE to allow the extra layers for 2k. Also shifted the starting size to the MIN_LAYER_SIZE instead of MAX_BLOCK_SIZE's area to allow smaller files to be decoded at discard 5 completely. Finally able to walk around Fantasy Faire without any gray blobs!
Diffstat (limited to 'indra/llwindow/llwindow.cpp')
0 files changed, 0 insertions, 0 deletions