mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
VideoBackend: Get rid of a boolean global
Also gets rid of global headers
This commit is contained in:
parent
066af14272
commit
01f99a04a2
26 changed files with 32 additions and 122 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue