summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Software/SWOGLWindow.cpp
diff options
context:
space:
mode:
authorStenzek <stenzek@gmail.com>2018-10-03 23:03:19 +1000
committerStenzek <stenzek@gmail.com>2018-10-20 21:11:34 +1000
commit9c57a98723997736adea94383668fbdf8a993fd8 (patch)
tree5800ef34172a1edea20ba4571ea5bc95b1eb29e0 /Source/Core/VideoBackends/Software/SWOGLWindow.cpp
parent1d827a52234974f308e71e86cdd6f61293e0523f (diff)
GLContext: Use host connection
This also removes the need for a sleeping event thread.
Diffstat (limited to 'Source/Core/VideoBackends/Software/SWOGLWindow.cpp')
-rw-r--r--Source/Core/VideoBackends/Software/SWOGLWindow.cpp4
1 files changed, 2 insertions, 2 deletions
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> 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.");