diff options
author | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2025-04-04 21:27:34 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2025-04-05 20:59:37 +0200 |
commit | d8b871727c363892b14f2eadfad8f6058ec6ab72 (patch) | |
tree | 5fa78f2ccf33d88c3376070e90197877f6aef1c7 /docs | |
parent | 3fb77358ea1e47aa97d81ecc8ffe02a7f2e45a9a (diff) | |
download | mana-master.tar.gz mana-master.tar.bz2 mana-master.tar.xz mana-master.zip |
The images returned by IMG_Load_RW appear to usually be in the format
SDL_PIXELFORMAT_ABGR8888. As such, adjust the code performing the dye to
operate on this format rather than always converting the surfaces to
SDL_PIXELFORMAT_RGBA8888.
This appears to make the loading of dyed images about 30% faster.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions