mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-14 03:09:04 +00:00
Fixed: Wrong variable used to compute array length
This commit is contained in:
parent
21f3ec55ab
commit
40e65be2f5
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