From de0253aac76b31dffa9cee1ceef63ace92af1cc3 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 15 Dec 2003 23:22:35 +0000 Subject: [PATCH] Changed the default wrap modes from REPEAT to CLAMP since CLAMP is the OpenGL default value. --- src/osg/Texture.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/osg/Texture.cpp b/src/osg/Texture.cpp index 46a9ddd4c..d26efa0bf 100644 --- a/src/osg/Texture.cpp +++ b/src/osg/Texture.cpp @@ -164,9 +164,9 @@ void Texture::flushTextureObjects(unsigned int contextID,double currentTime, dou } Texture::Texture(): - _wrap_s(REPEAT), - _wrap_t(REPEAT), - _wrap_r(REPEAT), + _wrap_s(CLAMP), + _wrap_t(CLAMP), + _wrap_r(CLAMP), _min_filter(LINEAR_MIPMAP_LINEAR), // trilinear _mag_filter(LINEAR), _maxAnisotropy(1.0f),