Merge pull request #8397 from SamGondelman/ucharWarning

Fix warning on OSX/Linux
This commit is contained in:
Ryan Huffman 2016-08-09 14:31:16 -07:00 committed by GitHub
commit 093d80e102

View file

@ -700,8 +700,6 @@ bool sphericalHarmonicsFromTexture(const gpu::Texture& cubeTexture, std::vector<
return false;
}
const float UCHAR_TO_FLOAT = 1.0f / float(std::numeric_limits<unsigned char>::max());
// for each face of cube texture
for(int face=0; face < gpu::Texture::NUM_CUBE_FACES; face++) {