Sprite regression for npo2

Reporter: fundies  |  Status: closed  |  Last Modified: August 07, 2020, 06:10:30 PM
Because I can't comment on #2000 due to tkg being tkg. I guess I'll make separate issue.
It appears I've broken sprite_add for non power of 2 textures because image_load pads the textures to power of 2 but when I do things like divide the subimages or remove the transparency pixel, my code expects an unmolested image. This only effects externally loaded non-power of 2 images. So we need to either modify image_load not to molest the images or modify my split/transparency functions to take the garbage padding into account.

https://github.com/enigma-dev/enigma-dev/blob/master/ENIGMAsystem/SHELL/Universal_System/Resources/sprites.cpp#L41

Please sign in to post comments, or you can view this issue on GitHub.