Removed check as this is better outside of the function
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user