mirror of
https://github.com/brues-code/TwitchEmotes.git
synced 2026-09-24 16:46:08 +00:00
ce8038ed03
ClassicAPI's texture dimension gate lifts the two limits the sheet layout was built around. A sheet skinnier than 16:1 drawing nothing was never a client rule -- VanillaHelpers grew the texture recycle pool to 6x6 but left the index stride at 5, so a 32x1024 strip collided with a 64x32 bucket and was handed back the wrong texture. And power-of-two is no longer required, since the gate grows the decode scratch to fit. So a run wraps into columns only when it outgrows the scratch at 32 frames, and a sheet is sized to its frames exactly: 20 frames is a 32x640 strip rather than 64x1024. The 128 frame budget is unchanged, and older sheets still play -- the animator reads the column count off the sheet.