author Sunny Sachanandani <>
Fri, 09 Jul 2010 21:36:41 +0530
changeset 4590 1ad70fb49fcb
parent 3161 494559cc723b
child 6251 3e8c673cad58
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.
     1 SDL 1.3 with open pandora console support ( )
     2 =====================================================================
     4 - A pandora specific video driver was writed to allow SDL 1.3 with OpenGL ES
     5 support to work on the pandora under the framebuffer. This driver do not have
     6 input support for now, so if you use it you will have to add your own control code.
     7 The video driver name is "pandora" so if you have problem running it from
     8 the framebuffer, try to set the following variable before starting your application :
     9 "export SDL_VIDEODRIVER=pandora"
    11 - OpenGL ES support was added to the x11 driver, so it's working like the normal
    12 x11 driver one with OpenGLX support, with SDL input event's etc..
    15 David Carré (Cpasjuste)