capehill
2017-01-03 20:44:32 UTC
After debugging testautomation_surface, I have concluded that SW blending doesn't work at least for me (big endian AmigaOS platform).
For example, if sR is 0 and dR is 255, we will get -255*sA casted to an unsigned value. Basically results are quite large numbers instead of the expected 0-255 range. Am I missing something here?
Reference: https://hg.libsdl.org/SDL/file/d11daa346140/src/video/SDL_blit.h#l455
For example, if sR is 0 and dR is 255, we will get -255*sA casted to an unsigned value. Basically results are quite large numbers instead of the expected 0-255 range. Am I missing something here?
Reference: https://hg.libsdl.org/SDL/file/d11daa346140/src/video/SDL_blit.h#l455