Core: Don't pass through a reference to the window handle
Now that MainNoGUI is properly architected and GLX doesn't need to sometimes craft its own windows sometimes which we have to thread back into MainNoGUI, we don't need to thread the window handle that GLX creates at all. This removes the reference to pass back here, and the g_pWindowHandle always be the same as the window returned by Host_GetRenderHandle(). A future cleanup could remove g_pWindowHandle entirely.
This commit is contained in:
@@ -208,9 +208,6 @@ bool Init()
|
||||
!!SConfig::GetInstance().m_SYSCONF->GetData<u8>("IPL.AR"));
|
||||
}
|
||||
|
||||
// g_pWindowHandle is first the m_Panel handle,
|
||||
// then it is updated to the render window handle,
|
||||
// within g_video_backend->Initialize()
|
||||
g_pWindowHandle = Host_GetRenderHandle();
|
||||
|
||||
// Start the emu thread
|
||||
|
||||
Reference in New Issue
Block a user