[osg-submissions] State multi-texture fix

Colin McDonald cjmcdonald at qinetiq.com
Fri Jan 11 04:56:19 PST 2008


Hi Robert,

Multi-texturing fails with recent osg on older graphics cards, due to
use of parameter GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS which is only part
of the standard from 2.0 onwards.  I've updated src/osg/State.cpp, so
that it attempts to be more rigorous regarding OpenGL version and
extension checking.

I've recently been updating applications from osg 1.2 to osg 2.3, and
its been going well.  So, nice job there.

Regards

Colin McDonald
-------------- next part --------------
A non-text attachment was scrubbed...
Name: State.zip
Type: application/zip
Size: 6241 bytes
Desc: not available
Url : http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20080111/50ac1f51/attachment.zip 


More information about the osg-submissions mailing list