mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-06 16:18:58 +00:00
VideoBackends: Pass window system info from host on creation
This commit is contained in:
parent
9c57a98723
commit
eb284b5d66
26 changed files with 148 additions and 75 deletions
|
@ -78,11 +78,11 @@ void VideoSoftware::InitBackendInfo()
|
|||
g_Config.backend_info.AAModes = {1};
|
||||
}
|
||||
|
||||
bool VideoSoftware::Initialize(void* display_handle, void* window_handle)
|
||||
bool VideoSoftware::Initialize(const WindowSystemInfo& wsi)
|
||||
{
|
||||
InitializeShared();
|
||||
|
||||
SWOGLWindow::Init(display_handle, window_handle);
|
||||
SWOGLWindow::Init(wsi);
|
||||
|
||||
Clipper::Init();
|
||||
Rasterizer::Init();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue