Fixed bug in disabledTexCoordPointer where a '>' was being used where it

should have been a '>='.
This commit is contained in:
Robert Osfield
2002-07-11 11:33:06 +00:00
parent 76d4b4bdf9
commit eca5797ae4

View File

@@ -338,7 +338,7 @@ class SG_EXPORT State : public Referenced
{
if (setClientActiveTextureUnit(unit))
{
if ( unit > _texCoordArrayList.size()) _texCoordArrayList.resize(unit+1);
if ( unit >= _texCoordArrayList.size()) _texCoordArrayList.resize(unit+1);
EnabledArrayPair& eap = _texCoordArrayList[unit];
if (eap._enabled)