VideoBackend: Get rid of a boolean global
Also gets rid of global headers
This commit is contained in:
1 parent
066af14272
commit
01f99a04a2
26 files changed
+32
-122
No files matched your search
@@ -86,6 +86,7 @@ bool VideoSoftware::Initialize(void *window_handle)
|
||||
SWRenderer::Init();
|
||||
DebugUtil::Init();
|
||||
|
||||
m_initialized = true;
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -145,6 +146,8 @@ void VideoSoftware::EmuStateChange(EMUSTATE_CHANGE newState)
|
||||
|
||||
void VideoSoftware::Shutdown()
|
||||
{
|
||||
m_initialized = false;
|
||||
|
||||
// TODO: should be in Video_Cleanup
|
||||
SWRenderer::Shutdown();
|
||||
DebugUtil::Shutdown();
|
||||
|
||||
Reference in new issue
Block a user