Introduced new osg::Object::DataVariance type of UNSPECIFIED, and changed the deafult

values of DataVariance to UNSPECIFIED to all types.
This commit is contained in:
Robert Osfield
2007-02-14 13:18:58 +00:00
parent 953899d0e2
commit 07411f3246
9 changed files with 49 additions and 35 deletions

View File

@@ -30,7 +30,6 @@ using namespace osg;
Uniform::Uniform() :
_type(UNDEFINED), _numElements(0), _modifiedCount(0)
{
setDataVariance(STATIC);
}
@@ -39,7 +38,6 @@ Uniform::Uniform( Type type, const std::string& name, int numElements ) :
{
setName(name);
setNumElements(numElements);
setDataVariance(STATIC);
allocateDataArray();
}