diff --git a/src/osg/Texture2D.cpp b/src/osg/Texture2D.cpp index 5680708b3..62daae9e8 100644 --- a/src/osg/Texture2D.cpp +++ b/src/osg/Texture2D.cpp @@ -210,6 +210,8 @@ void Texture2D::apply(State& state) const // perhaps it is the first glBind which is not required... //glBindTexture( GL_TEXTURE_2D, handle ); + // update the modified tag to show that it is upto date. + if (_image.vaid()) getModifiedCount(contextID) = _image->getModifiedCount(); } else if (_image.valid() && _image->data()) {