materialsystem/cmaterialsystem.cpp
void CMaterialSystem::GetDisplayMode( MaterialVideoMode_t& info ) const
{
	ShaderDisplayMode_t shaderInfo;
	g_pShaderDeviceMgr->GetCurrentModeInfo( &shaderInfo, m_nAdapter );
	ConvertModeStruct( &info, shaderInfo );
}
//-----------------------------------------------------------------------------
// Returns the mode info for the current display device
//-----------------------------------------------------------------------------
Returns the mode info for the current display device
Returns the mode info for the current display device
void CMaterialSystem::GetDisplayMode( MaterialVideoMode_t& info ) const
{
	ShaderDisplayMode_t shaderInfo;
	g_pShaderDeviceMgr->GetCurrentModeInfo( &shaderInfo, m_nAdapter );
	ConvertModeStruct( &info, shaderInfo );
}
void CMaterialSystem :: GetDisplayMode ( MaterialVideoMode_t & info ) const { ShaderDisplayMode_t shaderInfo ; g_pShaderDeviceMgr -> GetCurrentModeInfo ( & shaderInfo , m_nAdapter ) ; ConvertModeStruct ( & info , shaderInfo ) ; }
Returns the mode info for the current display device
Returns the mode info for the current display device