Skip to content

Commit

Permalink
use other
Browse files Browse the repository at this point in the history
  • Loading branch information
mastercoms committed Oct 22, 2020
1 parent 9da5d5b commit f8bb695
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions materialsystem/cmaterialsystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3702,7 +3702,7 @@ void CMaterialSystem::EndFrame( void )

if ( m_pActiveAsyncJob )
{
#if 1
#if 0
while ( !m_pActiveAsyncJob->IsFinished() )
{
m_pActiveAsyncJob->WaitForFinish(0);
Expand Down Expand Up @@ -4971,7 +4971,7 @@ MaterialLock_t CMaterialSystem::Lock()
#if 1 // Rick's optimization: not sure this is needed anymore
if ( pCurContext != &m_HardwareRenderContext && m_pActiveAsyncJob )
{
#if 1
#if 0
while (!m_pActiveAsyncJob->IsFinished())
{
m_pActiveAsyncJob->WaitForFinish(0);
Expand Down

0 comments on commit f8bb695

Please sign in to comment.