diff options
author | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_fr> | 2010-05-22 15:49:19 +0200 |
---|---|---|
committer | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_fr> | 2010-05-27 02:20:44 +0200 |
commit | aa0d2450a8e9188204d088e5c828aa1e636ba463 (patch) | |
tree | a9a7feff266bd2b7f886d438427c8f775c4ae1f5 /src/gui | |
parent | a72030a4e8af2d60ccf574f224070805780e19ca (diff) | |
download | mana-aa0d2450a8e9188204d088e5c828aa1e636ba463.tar.gz mana-aa0d2450a8e9188204d088e5c828aa1e636ba463.tar.bz2 mana-aa0d2450a8e9188204d088e5c828aa1e636ba463.tar.xz mana-aa0d2450a8e9188204d088e5c828aa1e636ba463.zip |
Fixed the dyecmd tool.
The bug was quite nasty to catch:
The RGBA channels were inversed when writing the image, even if the code parts
taken from the Mana Client were exactly copy/pasted.
This was due to the fact that the client does an Image::load() call after recoloring
which call SDL_displaySurface() that reverse the pixel order.
I reversed then the recolored image pixel output to get back the right color
for the image writer.
Reviewed-by: Jaxad0127
Diffstat (limited to 'src/gui')
0 files changed, 0 insertions, 0 deletions