![]() |
SDL_LoadBMP bitmap with alpha | ![]() |
![]() |
SDL_LoadBMP bitmap with alpha | ![]() |
Andy Hefner
Guest
![]() |
![]() |
On Thu, Oct 14, 2010 at 9:23 PM, bu6w3uj wrote:
I recall having to modify the pixel format the get the desired alpha blending. Try adding the following: bmp->format->Amask = 0xFF000000; bmp->format->Ashift = 24; _______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
||||||||||||
|
![]() |
![]() |
bu6w3uj
![]() |
![]() |
Thank you Andy, that did the magic.
|
||||||||||
|