Fixed weird fmod bug I guess
This commit is contained in:
@ -8,6 +8,7 @@
|
||||
using namespace Dawn;
|
||||
|
||||
ShaderManager::ShaderManager() {
|
||||
this->nextId = 0;
|
||||
this->nextLock = 0;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user