mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-25 00:26:17 +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
|
||||
};
|
||||
const uint numCubeMap = sizeof(expToCubeMap) / sizeof(float);
|
||||
const uint numCubeMap = sizeof(cubeMapExp) / sizeof(float);
|
||||
static bool tableBuilt = false;
|
||||
|
||||
if (!tableBuilt)
|
||||
|
|
Loading…
Reference in a new issue