Re: Trying to understand the unsignedness in ALPHA_BLEND_RGBA

"capehill" <[email protected]> Sat, 07 Jan 2017 15:16:09 +0000
Newsgroups gmane.comp.lib.sdl
Message-ID <[email protected]>
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 <[email protected] ([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 (https://hg.libsdl.org/SDL/rev/6285a56f6729)
> > 	
> > 
> > 
> > 	
> > 
> > _______________________________________________
> > SDL mailing list
> > [email protected] ([email protected])
> > http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org (http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org)
> > 
> > 
>

_______________________________________________
SDL mailing list
[email protected]
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org