summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Software/SWmain.cpp
diff options
context:
space:
mode:
authorStenzek <stenzek@gmail.com>2018-10-03 23:03:22 +1000
committerStenzek <stenzek@gmail.com>2018-10-20 21:11:34 +1000
commiteb284b5d661cab6aed770e0e51b790917249ef21 (patch)
treeafad7299617c4788598e05a347ead4e1af5650ee /Source/Core/VideoBackends/Software/SWmain.cpp
parent9c57a98723997736adea94383668fbdf8a993fd8 (diff)
VideoBackends: Pass window system info from host on creation
Diffstat (limited to 'Source/Core/VideoBackends/Software/SWmain.cpp')
-rw-r--r--Source/Core/VideoBackends/Software/SWmain.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoBackends/Software/SWmain.cpp b/Source/Core/VideoBackends/Software/SWmain.cpp
index 2aa099e9e9..070cf74b69 100644
--- a/Source/Core/VideoBackends/Software/SWmain.cpp
+++ b/Source/Core/VideoBackends/Software/SWmain.cpp
@@ -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();