summaryrefslogtreecommitdiff
path: root/Source/Plugins/Plugin_VideoSoftware/Src/SWmain.cpp
diff options
context:
space:
mode:
authordegasus <wickmarkus@web.de>2013-02-26 16:42:32 +0100
committerdegasus <wickmarkus@web.de>2013-02-26 16:42:32 +0100
commit4883fa268fa60751a2c1fc0dd77ce022987daf21 (patch)
tree6122526a49e1bdabc040854a427bea8c71667e81 /Source/Plugins/Plugin_VideoSoftware/Src/SWmain.cpp
parent90ff648d002b6a4f24fc63a43d90e1447809b39c (diff)
Split VideoBackend::Cleanup from Shutdown.
First is called from ogl/d3d thread, second is called from emulation thread (x11...)
Diffstat (limited to 'Source/Plugins/Plugin_VideoSoftware/Src/SWmain.cpp')
-rw-r--r--Source/Plugins/Plugin_VideoSoftware/Src/SWmain.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/Plugins/Plugin_VideoSoftware/Src/SWmain.cpp b/Source/Plugins/Plugin_VideoSoftware/Src/SWmain.cpp
index 7d823eff42..5899d82c39 100644
--- a/Source/Plugins/Plugin_VideoSoftware/Src/SWmain.cpp
+++ b/Source/Plugins/Plugin_VideoSoftware/Src/SWmain.cpp
@@ -132,11 +132,17 @@ void VideoSoftware::EmuStateChange(EMUSTATE_CHANGE newState)
void VideoSoftware::Shutdown()
{
+ // TODO: should be in Video_Cleanup
HwRasterizer::Shutdown();
SWRenderer::Shutdown();
+
GLInterface->Shutdown();
}
+void VideoSoftware::Video_Cleanup()
+{
+}
+
// This is called after Video_Initialize() from the Core
void VideoSoftware::Video_Prepare()
{