diff --git a/components/fx/technique.hpp b/components/fx/technique.hpp index 3373193fdd..844e4b552a 100644 --- a/components/fx/technique.hpp +++ b/components/fx/technique.hpp @@ -62,11 +62,7 @@ namespace fx if (other.mRenderTarget) mRenderTarget = new osg::FrameBufferObject(*other.mRenderTarget, copyOp); if (other.mRenderTexture) - { mRenderTexture = new osg::Texture2D(*other.mRenderTexture, copyOp); - mRenderTexture->setWrap(osg::Texture::WRAP_S, osg::Texture::CLAMP_TO_EDGE); - mRenderTexture->setWrap(osg::Texture::WRAP_T, osg::Texture::CLAMP_TO_EDGE); - } } };