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