In osg Ver2.2 public release osg::State::setClientActiveTextureUnit
(State.cpp, line759) the test (I think) should be:

if (_glClientActiveTexture && unit < (unsigned int)_glMaxTextureUnits)

and not _glMaxTextureCoords.

I've attached a modified version of the file (osg\State.cpp)

Joseph Steel

Attachment: State.cpp
Description: Binary data

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

Reply via email to