D3D: More reset fixes

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4282 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard
2009-09-15 21:49:15 +00:00
parent c71f76834e
commit 20922cf3f0
5 changed files with 50 additions and 50 deletions

View File

@ -69,8 +69,8 @@ void SetupDeviceObjects()
VertexLoaderManager::Init();
FBManager::Create();
VertexShaderManager::Init();
PixelShaderManager::Init();
VertexShaderManager::Dirty();
PixelShaderManager::Dirty();
// Tex and shader caches will recreate themselves over time.
}
@ -78,9 +78,6 @@ void SetupDeviceObjects()
// Kill off all POOL_DEFAULT device objects.
void TeardownDeviceObjects()
{
VertexShaderManager::Shutdown();
PixelShaderManager::Shutdown();
D3D::dev->SetRenderTarget(0, D3D::GetBackBufferSurface());
D3D::dev->SetDepthStencilSurface(D3D::GetBackBufferDepthSurface());
FBManager::Destroy();