Added friend struct ViewData to try and avoid compile issues under HP-UX

This commit is contained in:
Robert Osfield
2008-10-08 12:29:43 +00:00
parent 5e95d6e3b5
commit c47d63ba1c
2 changed files with 4 additions and 0 deletions

View File

@@ -78,6 +78,8 @@ class OSGSHADOW_EXPORT MinimalDrawBoundsShadowMap
ViewData( void ): _boundAnalysisSize( 64, 64 ) {}
};
friend struct ViewData;
META_ViewDependentShadowTechniqueData( ThisClass, ThisClass::ViewData )

View File

@@ -186,6 +186,8 @@ class OSGSHADOW_EXPORT StandardShadowMap : public DebugShadowMap
const osg::Vec3 &worldLightUp
= osg::Vec3(0,1,0) );
};
friend struct ViewData;
META_ViewDependentShadowTechniqueData( ThisClass, ThisClass::ViewData )
};