[PATCH] SDL 1.3 render target -- add'l fixes

Please ignore the previous patch I posted and use this one instead.
This version checks if float buffer render targets are actually
supported on the machine before even trying.

This should prevent crashes on some systems, especially with drivers
that actually know about float buffers (but the actual video card
doesn’t have it).

Also fixed a queer bug where requesting an alpha channel may not work
sometimes – the function was looking at the wrong element in
complete_attrib.–
Eric Vidal
Lecturer / Graduate Research Assistant, DISCS
Ateneo de Manila University
http://aegis.ateneo.net/evidal/
-------------- next part --------------
A non-text attachment was scrubbed…
Name: SDL-1.3.diff
Type: text/x-patch
Size: 13599 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20050517/de306243/attachment.bin