mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 01:09:50 +00:00
Fixed: Wrong variable used to compute array length
This commit is contained in:
parent
b7ddc2c0d2
commit
bb7297f260
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