Split VideoBackend::Cleanup from Shutdown.

First is called from ogl/d3d thread, second is called from emulation thread (x11...)
This commit is contained in:
degasus
2013-02-26 16:42:32 +01:00
parent 90ff648d00
commit 4883fa268f
10 changed files with 32 additions and 1 deletions

View File

@ -102,6 +102,7 @@ public:
virtual void Video_Prepare() = 0;
virtual void Video_EnterLoop() = 0;
virtual void Video_ExitLoop() = 0;
virtual void Video_Cleanup() = 0; // called from gl/d3d thread
virtual void Video_BeginField(u32, FieldType, u32, u32) = 0;
virtual void Video_EndField() = 0;