From Alberto Farre, added osgDB::SharedStateManager. Also a couple of

ammendments by Robert Osfield, adding get/setSharedStateManager()
methods into osgDB::Registry, and clean up fixes in SharedStateManager
for the StateSet arrays.
This commit is contained in:
Robert Osfield
2004-01-10 17:13:20 +00:00
parent 30c2cca1a3
commit 23443aa5db
10 changed files with 408 additions and 6 deletions

View File

@@ -81,8 +81,10 @@ int Texture2D::compare(const StateAttribute& sa) const
if (result!=0) return result;
// compare each paramter in turn against the rhs.
#if 1
COMPARE_StateAttribute_Parameter(_textureWidth)
COMPARE_StateAttribute_Parameter(_textureHeight)
#endif
COMPARE_StateAttribute_Parameter(_subloadCallback)
return 0; // passed all the above comparison macro's, must be equal.