Skip to content

Commit f8bb695

Browse files
committed
use other
1 parent 9da5d5b commit f8bb695

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

materialsystem/cmaterialsystem.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3702,7 +3702,7 @@ void CMaterialSystem::EndFrame( void )
37023702

37033703
if ( m_pActiveAsyncJob )
37043704
{
3705-
#if 1
3705+
#if 0
37063706
while ( !m_pActiveAsyncJob->IsFinished() )
37073707
{
37083708
m_pActiveAsyncJob->WaitForFinish(0);
@@ -4971,7 +4971,7 @@ MaterialLock_t CMaterialSystem::Lock()
49714971
#if 1 // Rick's optimization: not sure this is needed anymore
49724972
if ( pCurContext != &m_HardwareRenderContext && m_pActiveAsyncJob )
49734973
{
4974-
#if 1
4974+
#if 0
49754975
while (!m_pActiveAsyncJob->IsFinished())
49764976
{
49774977
m_pActiveAsyncJob->WaitForFinish(0);

0 commit comments

Comments
 (0)