mirror of
https://github.com/lubosz/overte.git
synced 2025-04-10 08:57:12 +02:00
Merge pull request #8397 from SamGondelman/ucharWarning
Fix warning on OSX/Linux
This commit is contained in:
commit
093d80e102
1 changed files with 0 additions and 2 deletions
|
@ -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++) {
|
||||
|
||||
|
|
Loading…
Reference in a new issue