author Sunny Sachanandani <>
Fri, 09 Jul 2010 21:36:41 +0530
changeset 4590 1ad70fb49fcb
parent 1371 e2641c13bf33
permissions -rw-r--r--
Fix so many things that there is little place in this column to list them all but the result is that blending modes just work now for drawing primitives.

Fixes involved:
1. Fix handling of alpha channel when SDL_BLENDMODE_NONE is set.
2. Make xrendercolor use floating-point values for color channels and then convert to 16 bit ints.
3. Fix handling of visuals in SDL_x11modes.c so that a 32 bit ARGB visual is used.
4. Fix the background pixel value in SDL_x11window.c so that the window background has an alpha value of 0xFF and not 0.
     2 SDL on BeOS R5
     3 ==============
     5 You can build SDL on BeOS like any other GNU style package.
     6 e.g. ./configure && make && make install
     7 By default it is installed in /boot/develop/tools/gnupro/{bin,lib,etc.}
     9 Once you install SDL, you need to copy to /boot/home/config/lib,
    10 so it can be found by the dynamic linker.
    12 Enjoy!
    13 	Sam Lantinga				(