Re: Trying to understand the unsignedness in ALPHA_BLEND_RGBA
Sam Lantinga <[email protected]> Sat, 7 Jan 2017 16:52:33 -0800
| Newsgroups | gmane.comp.lib.sdl |
|---|---|
| Message-ID | <CACC3sbHf5EN898uiB06is=HmmE0X4_03x5YFTPAKDAeVC9hS7w@mail.gmail.com> |
Okay, I think I got it. Thanks! On Sat, Jan 7, 2017 at 7:16 AM, capehill <[email protected]> wrote: > Following patch worked for me: https://sourceforge.net/p/ > sdl2-amigaos4/code/157/ > > > > > Sam Lantinga wrote: > > Can you provide a patch on the bug? > > On Fri, Jan 6, 2017 at 11:26 AM, capehill <> wrote: > > > > Quote: > > Unfortunately it doesn't work for me. You probably have to cast sA to int, > at least that helps here. Perhaps compiler promotes result to unsigned > because sA's type is unsigned? (SDL_blit_A.c) > > > > > Sam Lantinga wrote: > > Okay, can you try this?https://hg.libsdl.org/SDL/rev/6285a56f6729 > > > > > > _______________________________________________ > SDL mailing list > > http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org > > > > > > > _______________________________________________ > SDL mailing list > [email protected] > http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org > > _______________________________________________ SDL mailing list [email protected] http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org