From 9c57a98723997736adea94383668fbdf8a993fd8 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Wed, 3 Oct 2018 23:03:19 +1000 Subject: GLContext: Use host connection This also removes the need for a sleeping event thread. --- Source/Core/VideoBackends/Software/SWOGLWindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Core/VideoBackends/Software/SWOGLWindow.cpp') diff --git a/Source/Core/VideoBackends/Software/SWOGLWindow.cpp b/Source/Core/VideoBackends/Software/SWOGLWindow.cpp index dd390bc6dc..fb6731b4b7 100644 --- a/Source/Core/VideoBackends/Software/SWOGLWindow.cpp +++ b/Source/Core/VideoBackends/Software/SWOGLWindow.cpp @@ -13,9 +13,9 @@ std::unique_ptr SWOGLWindow::s_instance; -void SWOGLWindow::Init(void* window_handle) +void SWOGLWindow::Init(void* display_handle, void* window_handle) { - g_main_gl_context = GLContext::Create(window_handle); + g_main_gl_context = GLContext::Create(display_handle, window_handle); if (!g_main_gl_context) { ERROR_LOG(VIDEO, "GLInterface::Create failed."); -- cgit v1.2.3