Changeset 9989 for OpenSceneGraph/trunk/src/osg/StateSet.cpp
- Timestamp:
- 04/08/09 14:32:52 (4 years ago)
- Files:
-
- 1 modified
-
OpenSceneGraph/trunk/src/osg/StateSet.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osg/StateSet.cpp
r9354 r9989 426 426 if (lhs_uniform_itr->first<rhs_uniform_itr->first) return -1; 427 427 else if (rhs_uniform_itr->first<lhs_uniform_itr->first) return 1; 428 if (lhs_uniform_itr->second<rhs_uniform_itr->second) return -1; 429 else if (rhs_uniform_itr->second<lhs_uniform_itr->second) return 1; 428 if (*lhs_uniform_itr->second.first<*rhs_uniform_itr->second.first) return -1; 429 else if (*rhs_uniform_itr->second.first<*lhs_uniform_itr->second.first) return 1; 430 if (lhs_uniform_itr->second.second<rhs_uniform_itr->second.second) return -1; 431 else if (rhs_uniform_itr->second.second<lhs_uniform_itr->second.second) return 1; 430 432 ++lhs_uniform_itr; 431 433 ++rhs_uniform_itr;
