OpenSceneGraph/include
Robert Osfield ab4398e440 From Farshid Lashkari, "I made a modification to the setClientActiveTextureUnit and
setActiveTextureUnit methods of osg::State so they return false if the
texture unit is outside the range of allowable units for the driver.
Currently, the functions would return true even if the units are
invalid. This would cause the osg::State to become out of sync with
the actual driver state, which can cause some bugs in certain cases.

The change I made would verify that the unit passed to
setClientActiveTextureUnit is below GL_MAX_TEXTURE_COORDS, and the
unit passed to setActiveTextureUnit is below
max(GL_MAX_TEXTURE_COORDS,GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS). I
modeled this behavior from the OpenGL docs for these commands which
can be found here:

http://www.opengl.org/sdk/docs/man/xhtml/glClientActiveTexture.xml
http://www.opengl.org/sdk/docs/man/xhtml/glActiveTexture.xml
"
2007-05-15 11:25:14 +00:00
..
osg From Farshid Lashkari, "I made a modification to the setClientActiveTextureUnit and 2007-05-15 11:25:14 +00:00
osgDB From Mike Weiblen, with mods of using references by Robert Osfield for efficiency. Submission notes from Mike: 2007-05-09 10:01:15 +00:00
osgFX Updated copyright years. 2006-07-18 15:21:48 +00:00
osgGA From Eric Wing, pedantic warning fixes 2007-04-06 15:36:13 +00:00
osgIntrospection From David Callu, " bug: 2007-03-16 14:28:27 +00:00
osgManipulator Changed hitItr to be a const_iterator. 2007-04-13 13:19:29 +00:00
osgParticle Removed deprecated drawImplementation(State&) method from Drawable and Drawable::DrawCallback 2007-03-28 11:30:38 +00:00
osgShadow From Eric Wing, pedantic warning fixes 2007-04-06 15:36:13 +00:00
osgSim Futher work on new view dependent overlay node 2007-05-15 11:22:25 +00:00
osgTerrain Added TerrainNode::init() and s/getTreatBoundariesToValidDataAsDefaultValue flag. 2007-05-13 09:54:51 +00:00
osgText Reorganised the managment of margins around glyphs so that is done entirely 2007-05-04 12:05:29 +00:00
osgUtil Added s/getLightingMode and s/getLight to osg::View to allow control of the viewers 2007-05-07 22:07:23 +00:00
osgViewer Added include of GraphicsWindow to fix wrapper build error 2007-05-14 17:01:07 +00:00