mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-27 01:06:19 +00:00
Fixed: Wrong variable used to compute array length
This commit is contained in:
parent
4f1897208c
commit
4b6ca1e628
1 changed files with 1 additions and 1 deletions
|
@ -1502,7 +1502,7 @@ CTextureCube *CDriverGL::getSpecularCubeMap(uint exp)
|
||||||
{
|
{
|
||||||
1.f, 4.f, 8.f, 24.f, 48.f, 128.f, 256.f, 511.f
|
1.f, 4.f, 8.f, 24.f, 48.f, 128.f, 256.f, 511.f
|
||||||
};
|
};
|
||||||
const uint numCubeMap = sizeof(expToCubeMap) / sizeof(float);
|
const uint numCubeMap = sizeof(cubeMapExp) / sizeof(float);
|
||||||
static bool tableBuilt = false;
|
static bool tableBuilt = false;
|
||||||
|
|
||||||
if (!tableBuilt)
|
if (!tableBuilt)
|
||||||
|
|
Loading…
Reference in a new issue