diff options
| author | XTra.KrazzY <XTra.KrazzY@gmail.com> | 2009-03-07 23:20:14 +0000 |
|---|---|---|
| committer | XTra.KrazzY <XTra.KrazzY@gmail.com> | 2009-03-07 23:20:14 +0000 |
| commit | 044637218eaa59fdff2e7e0b3df48d89d1309cae (patch) | |
| tree | 0bbad4a028961119e836053bfd4231e4ffcaad43 /Source | |
| parent | 0feedec14cc460674f2a584603322ce43d0023a4 (diff) | |
Give the vertex/pixel shader caches and managers a proper Init/Shutdown
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2610 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Plugins/Plugin_VideoDX9/Src/main.cpp | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/Source/Plugins/Plugin_VideoDX9/Src/main.cpp b/Source/Plugins/Plugin_VideoDX9/Src/main.cpp index 36a228ed60..cff545cc4c 100644 --- a/Source/Plugins/Plugin_VideoDX9/Src/main.cpp +++ b/Source/Plugins/Plugin_VideoDX9/Src/main.cpp @@ -31,6 +31,10 @@ #include "BPStructs.h" #include "VertexManager.h" #include "VertexLoaderManager.h" +#include "VertexShaderManager.h" +#include "PixelShaderManager.h" +#include "VertexShaderCache.h" +#include "PixelShaderCache.h" #include "DlgSettings.h" #include "D3DPostprocess.h" #include "D3DTexture.h" @@ -221,6 +225,10 @@ void Video_Prepare(void) Fifo_Init(); VertexLoaderManager::Init(); OpcodeDecoder_Init(); + VertexShaderCache::Init(); + VertexShaderManager::Init(); + PixelShaderCache::Init(); + PixelShaderManager::Init(); } void Shutdown(void) @@ -228,9 +236,13 @@ void Shutdown(void) Fifo_Shutdown(); OpcodeDecoder_Shutdown(); VertexManager::Shutdown(); + VertexShaderManager::Shutdown(); + VertexLoaderManager::Shutdown(); + VertexShaderCache::Shutdown(); + PixelShaderCache::Shutdown(); + PixelShaderManager::Shutdown(); TextureCache::Shutdown(); Renderer::Shutdown(); - VertexLoaderManager::Shutdown(); DeInit(); } |
