Fix typo making it rebuild every BLAS if level changes
This commit is contained in:
parent
1073bcfa69
commit
8cbef52626
1 changed files with 1 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ void CPUAccelStruct::Update()
|
|||
|
||||
for (int instance = 0; instance < InstanceCount; instance++)
|
||||
{
|
||||
if (needsUpdate)
|
||||
if (needsUpdate[instance])
|
||||
{
|
||||
int indexStart = instance * IndexesPerBLAS;
|
||||
int indexEnd = std::min(indexStart + IndexesPerBLAS, Mesh->Mesh.IndexCount);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue