diff --git a/src/osg/Texture2D.cpp b/src/osg/Texture2D.cpp index 5cb0a459e..d73cebc37 100644 --- a/src/osg/Texture2D.cpp +++ b/src/osg/Texture2D.cpp @@ -313,7 +313,7 @@ void Texture2D::apply(State& state) const glBindTexture( GL_TEXTURE_2D, 0 ); } - // if texture object is now valid and we have to allocate mipmap levels, then + // if texture object is now valid and we have to allocate mipmap levels, then if (textureObject != 0 && _texMipmapGenerationDirtyList[contextID]) { generateMipmap(state);