fix: properly assign new pool to m_tlsPool
Some checks failed
Clang Format / clang-format (push) Has been cancelled
Build (Linux, x86_64) / build-linux (push) Has been cancelled
Build (Linux, x86_64) / build-linux-debug (push) Has been cancelled

This commit is contained in:
Tropical 2026-03-25 18:43:10 -05:00
parent 9fec342554
commit 06a4096cf6
2 changed files with 2 additions and 2 deletions

View file

@ -24,7 +24,7 @@ void AABB::CreateNewThreadStorage() {
if (m_tlsPoolDefault == nullptr) {
m_tlsPoolDefault = tls;
}
m_tlsPool = m_tlsPoolDefault;
m_tlsPool = tls;
}
void AABB::UseDefaultThreadStorage() { m_tlsPool = m_tlsPoolDefault; }

View file

@ -17,7 +17,7 @@ void Vec3::CreateNewThreadStorage() {
if (m_tlsPoolDefault == nullptr) {
m_tlsPoolDefault = tls;
}
m_tlsPool = m_tlsPoolDefault;
m_tlsPool = tls;
}
void Vec3::UseDefaultThreadStorage() { m_tlsPool = m_tlsPoolDefault; }