Ejemplo n.º 1
0
HRESULT APPLICATION::Cleanup()
{
	try
	{
		m_build1.Release();
		m_build2.Release();

		m_pDevice->Release();

		debug.Print("Application terminated");
	}
	catch(...){}

	return S_OK;
}
Ejemplo n.º 2
0
HRESULT APPLICATION::Cleanup()
{
	try
	{
		m_pFont->Release();

		if(m_pFarmerMesh != NULL)
			m_pFarmerMesh->Release();

		m_pDevice->Release();

		debug.Print("Application terminated");
	}
	catch(...){}

	return S_OK;
}