Fixed weird fmod bug I guess

This commit is contained in:
2023-04-05 22:13:24 -07:00
parent 0e6befb92e
commit 599e354b90
9 changed files with 16 additions and 12 deletions

View File

@@ -59,7 +59,7 @@ namespace Dawn {
shaderId = shader->shaderId;
}
shaderlock_t lock = this->nextId++;
shaderlock_t lock = this->nextLock++;
this->shaderLocks[lock] = shaderId;
this->shaderLocksByShader[shaderId].push_back(lock);
return lock;