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
Lecturer / Graduate Research Assistant, DISCS
Ateneo de Manila University
-------------- next part --------------
A non-text attachment was scrubbed…
Size: 13599 bytes
Desc: not available