materialsystem/cmaterialsystem.cpp
void CMaterialSystem::SetAdapter( int nAdapter, int nAdapterFlags )
{
	m_nAdapter = nAdapter;
	m_nAdapterFlags = nAdapterFlags;
	g_pShaderDeviceMgr->GetCurrentModeInfo( &m_nAdapterInfo, m_nAdapter );
}
//-----------------------------------------------------------------------------
// Must be called before Init(), if you're going to call it at all...
//-----------------------------------------------------------------------------
Must be called before Init(), if you're going to call it at all
Must be called before Init () if you ' re going to call it at all
void CMaterialSystem::SetAdapter( int nAdapter, int nAdapterFlags )
{
	m_nAdapter = nAdapter;
	m_nAdapterFlags = nAdapterFlags;
	g_pShaderDeviceMgr->GetCurrentModeInfo( &m_nAdapterInfo, m_nAdapter );
}
void CMaterialSystem :: SetAdapter ( int nAdapter , int nAdapterFlags ) { m_nAdapter = nAdapter ; m_nAdapterFlags = nAdapterFlags ; g_pShaderDeviceMgr -> GetCurrentModeInfo ( & m_nAdapterInfo , m_nAdapter ) ; }
Must be called before Init(), if you're going to call it at all...
Must be called before Init () if you ' re going to call it at all ...