Added intializer

This commit is contained in:
Robert Osfield
2016-06-24 10:21:05 +01:00
parent 6e7e286fa0
commit 3bf7893665

View File

@@ -341,7 +341,9 @@ StandardShadowMap::StandardShadowMap(const StandardShadowMap& copy, const osg::C
_polygonOffsetUnits( copy._polygonOffsetUnits ),
_textureSize( copy._textureSize ),
_baseTextureUnit( copy._baseTextureUnit ),
_shadowTextureUnit( copy._shadowTextureUnit )
_shadowTextureUnit( copy._shadowTextureUnit ),
_baseTextureCoordIndex( copy._baseTextureCoordIndex ),
_shadowTextureCoordIndex( copy._shadowTextureCoordIndex )
{
if( copy._mainVertexShader.valid() )
_mainVertexShader = dynamic_cast<osg::Shader*>