diff options
| author | Scott Mansell <phiren@gmail.com> | 2022-07-25 17:20:33 +1200 |
|---|---|---|
| committer | Scott Mansell <phiren@gmail.com> | 2023-01-31 18:29:47 +1300 |
| commit | 606c18210dd4f651655b2c84e9e332e6c6c6e21b (patch) | |
| tree | 81aab84d1b49f2e051ccd753b03bb2b7cd0dda57 /Source/Core/VideoBackends/Software/SWmain.cpp | |
| parent | c1fd4a2013d90c65f1f12d83ffbb9720ef463376 (diff) | |
TextureCache: Refactor with smart pointers
The whole ownership model was getting a bit of a mess, with a some
of special cases to deal with. And I'm planning to make it even more
complex in the future.
So here is some upfront work to convert it over to reference counted
pointers.
Diffstat (limited to 'Source/Core/VideoBackends/Software/SWmain.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Software/SWmain.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/Source/Core/VideoBackends/Software/SWmain.cpp b/Source/Core/VideoBackends/Software/SWmain.cpp index b6d2005c26..b749f447bb 100644 --- a/Source/Core/VideoBackends/Software/SWmain.cpp +++ b/Source/Core/VideoBackends/Software/SWmain.cpp @@ -127,18 +127,6 @@ bool VideoSoftware::Initialize(const WindowSystemInfo& wsi) void VideoSoftware::Shutdown() { - if (g_shader_cache) - g_shader_cache->Shutdown(); - - if (g_renderer) - g_renderer->Shutdown(); - - g_texture_cache.reset(); - g_perf_query.reset(); - g_framebuffer_manager.reset(); - g_shader_cache.reset(); - g_vertex_manager.reset(); - g_renderer.reset(); ShutdownShared(); } } // namespace SW |
