mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-16 16:29:55 +00:00
Set the default to CLAMP_TO_EDGE in case it was not explicity called for
This commit is contained in:
parent
30da8a27ba
commit
d582a26e4c
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue