On 24 July 2013 13:37, Robert Osfield <[email protected]> wrote:

> I'm not yet clear on the after effects of glDrawBuffers not being support
> when _drawBuffers is not empty.
>

Been looking up when FrameBufferObejcts::_drawBuffers get set and it will
only get set when a Camera has colour attaches of COLOR_BUFFER0 and beyond
i.e the user is attempted to use multiple render targets.  Valid usage
under GLES2 should use this feature so should never set COLOR_BUFFER0 and
above.  While the program shoudln't crash and I've now checked it the check
against the new GL2Extensions::isDrawBuffersSupported() it very much looks
like invalid Camera setup on the behalf of the user.

This change is now part of snv/trunk and the OSG-3.2 branch.

Robert.
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to