diff --git a/src/osg/Texture.cpp b/src/osg/Texture.cpp index ec3948f1f..f50e5f045 100644 --- a/src/osg/Texture.cpp +++ b/src/osg/Texture.cpp @@ -2310,22 +2310,21 @@ void Texture::applyTexImage2D_load(State& state, GLenum target, const Image* ima int width = inwidth; int height = inheight; - bool useTexStorage = extensions->isTextureStorageEnabled && extensions->isTexStorage2DSupported() && (_borderWidth==0); - GLenum sizedInternalFormat = useTexStorage ? selectSizedInternalFormat(image) : 0; - OSG_NOTICE<<"New path useTexStorage="<