|
|
@ -701,7 +701,7 @@ bool CDriverGL::supportNonPowerOfTwoTextures() const
|
|
|
|
// ***************************************************************************
|
|
|
|
// ***************************************************************************
|
|
|
|
bool CDriverGL::isTextureRectangle(ITexture * tex) const
|
|
|
|
bool CDriverGL::isTextureRectangle(ITexture * tex) const
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return (supportTextureRectangle() && tex->isBloomTexture() && tex->mipMapOff()
|
|
|
|
return (!supportNonPowerOfTwoTextures() && supportTextureRectangle() && tex->isBloomTexture() && tex->mipMapOff()
|
|
|
|
&& (!isPowerOf2(tex->getWidth()) || !isPowerOf2(tex->getHeight())));
|
|
|
|
&& (!isPowerOf2(tex->getWidth()) || !isPowerOf2(tex->getHeight())));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|