fix warning

This commit is contained in:
SamGondelman 2016-08-09 14:02:42 -07:00
parent a2c0d515e8
commit 5a4d15dd5b

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++) {