Clening up from review comments

This commit is contained in:
samcake 2016-04-15 10:10:04 -07:00
parent 920ab88ef3
commit fc29397d91
2 changed files with 2 additions and 4 deletions

View file

@ -235,7 +235,6 @@ gpu::Texture* TextureUsage::createNormalTextureFromBumpImage(const QImage& srcIm
image = image.convertToFormat(QImage::Format_RGB888);
}
#if 1
// PR 5540 by AlessandroSigna integrated here as a specialized TextureLoader for bumpmaps
// The conversion is done using the Sobel Filter to calculate the derivatives from the grayscale image
const double pStrength = 2.0;
@ -285,7 +284,6 @@ gpu::Texture* TextureUsage::createNormalTextureFromBumpImage(const QImage& srcIm
result.setPixel(i, j, qRgbValue);
}
}
#endif
gpu::Texture* theTexture = nullptr;
if ((image.width() > 0) && (image.height() > 0)) {