summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <bjorn@lindeijer.nl>2025-04-04 21:27:34 +0200
committerThorbjørn Lindeijer <bjorn@lindeijer.nl>2025-04-05 20:59:37 +0200
commitd8b871727c363892b14f2eadfad8f6058ec6ab72 (patch)
tree5fa78f2ccf33d88c3376070e90197877f6aef1c7 /docs
parent3fb77358ea1e47aa97d81ecc8ffe02a7f2e45a9a (diff)
downloadmana-master.tar.gz
mana-master.tar.bz2
mana-master.tar.xz
mana-master.zip
Avoid pixel format conversions when applying dyeHEADmaster
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