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

@@ -216,7 +216,9 @@ int Texture::compareTexture(const Texture& rhs) const
COMPARE_StateAttribute_Parameter(_maxAnisotropy)
COMPARE_StateAttribute_Parameter(_useHardwareMipMapGeneration)
COMPARE_StateAttribute_Parameter(_internalFormatMode)
#if 1
COMPARE_StateAttribute_Parameter(_internalFormat)
#endif
COMPARE_StateAttribute_Parameter(_use_shadow_comparison)
COMPARE_StateAttribute_Parameter(_shadow_compare_func)
COMPARE_StateAttribute_Parameter(_shadow_texture_mode)