mirror of
https://github.com/celisej567/source-engine.git
synced 2026-09-13 20:13:45 +03:00
amd64: fix multithread, fix vgui, fix physmodels
This commit is contained in:
@@ -4039,7 +4039,7 @@ void CTexture::DeleteIfUnreferenced()
|
||||
if ( ThreadInMainThread() )
|
||||
{
|
||||
// Render thread better not be active or bad things can happen.
|
||||
Assert( MaterialSystem()->GetRenderThreadId() == 0xFFFFFFFF );
|
||||
Assert( MaterialSystem()->GetRenderThreadId() == (uintp)-1 );
|
||||
TextureManager()->RemoveTexture( this );
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user