[osg-submissions] State.cpp

Joseph Steel joseph.steel at simutecsystems.com
Mon Nov 19 03:20:14 PST 2007


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20071119/b3d1207c/attachment-0001.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: State.cpp
Type: application/octet-stream
Size: 29632 bytes
Desc: not available
Url : http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20071119/b3d1207c/attachment-0001.obj 


More information about the osg-submissions mailing list