Re: Trying to understand the unsignedness in ALPHA_BLEND_RGBA

Sam Lantinga <[email protected]> Fri, 6 Jan 2017 21:49:48 -0800
Newsgroups gmane.comp.lib.sdl
Message-ID <CACC3sbHXKM67w7is+G7V=64HZPgDijqQp3sR_ND_N++nQvt8qQ@mail.gmail.com>
Can you provide a patch on the bug?

On Fri, Jan 6, 2017 at 11:26 AM, capehill <[email protected]> wrote:

> 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
> [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