Hi Wojtek,

Thanks for hunting down and solving this problem.  I've applied the
patch and it solves the error and is now merged and checked into
svn/trunk.


On Fri, May 29, 2009 at 11:30 AM, Wojciech Lewandowski
<[email protected]> wrote:
> Problem could be easily replicated with simple stateset using empty
> osg::Program and osg::Uniform. In my opinion GLObjectVisitor does not handle
> this case correctly. I am sending a patch resolving the issue, but frankly I
> am not sure if its 100% correct as I don't fully understand the logic in
> handling osg::Program GL Compilation. Why it cannot be 2 simple calls to
> apply program and apply uniform list ?

The complexity comes from a uniform having to explictly bound to a
specific program.  This is a bit of shame as it'd be great if OpenGL
could allow you to full decouple them as it certainly be easier for us
to manage.

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

Reply via email to