From 29e87780f53aac88c1e3a677500e61046d778e46 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 17 Aug 2018 16:51:55 +0100 Subject: [PATCH] Removed check as this is better outside of the function --- src/osg/Texture.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/osg/Texture.cpp b/src/osg/Texture.cpp index 952840934..ec3948f1f 100644 --- a/src/osg/Texture.cpp +++ b/src/osg/Texture.cpp @@ -2085,8 +2085,6 @@ bool Texture::areAllTextureObjectsLoaded() const GLenum Texture::selectSizedInternalFormat(const osg::Image* image) const { - if (_borderWidth!=0) return 0; - if (image) { bool compressed_image = isCompressedInternalFormat((GLenum)image->getPixelFormat());