Set the default to CLAMP_TO_EDGE in case it was not explicity called for

revert-6246b479
Bret Curtis 2 years ago
parent 30da8a27ba
commit d582a26e4c

@ -277,6 +277,8 @@ namespace fx
rt.mTarget->setSourceFormat(GL_RGB);
rt.mTarget->setInternalFormat(GL_RGB);
rt.mTarget->setSourceType(GL_UNSIGNED_BYTE);
rt.mTarget->setWrap(osg::Texture::WRAP_S, osg::Texture::CLAMP_TO_EDGE);
rt.mTarget->setWrap(osg::Texture::WRAP_T, osg::Texture::CLAMP_TO_EDGE);
while (!isNext<Lexer::Close_bracket>() && !isNext<Lexer::Eof>())
{

Loading…
Cancel
Save