Skip to content

Commit 5f288ef

Browse files
committed
Revert multithreaded .thm loading
1 parent c489122 commit 5f288ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Layers/xrRender/TextureDescrManager.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ void CTextureDescrMngr::LoadTHM(LPCSTR initial)
3434
Msg("%s, count of .thm files: %d", __FUNCTION__, flist.size());
3535
#endif
3636

37-
tbb::parallel_for_each(flist, [&](auto& it)
37+
for (auto& it : flist)
3838
{
3939
#if 0//def DEBUG // XXX: make it as an option
4040
//Alundaio: Print list of *.thm to find bad .thms!
@@ -95,7 +95,7 @@ void CTextureDescrMngr::LoadTHM(LPCSTR initial)
9595
desc.m_spec->m_use_steep_parallax = true;
9696
}
9797
}
98-
});
98+
}
9999
}
100100

101101
void CTextureDescrMngr::Load()

0 commit comments

Comments
 (0)