Skip to content

Commit

Permalink
Revert multithreaded .thm loading
Browse files Browse the repository at this point in the history
  • Loading branch information
Xottab-DUTY committed Feb 12, 2018
1 parent c489122 commit 5f288ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Layers/xrRender/TextureDescrManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ void CTextureDescrMngr::LoadTHM(LPCSTR initial)
Msg("%s, count of .thm files: %d", __FUNCTION__, flist.size());
#endif

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

void CTextureDescrMngr::Load()
Expand Down

0 comments on commit 5f288ef

Please sign in to comment.