GLContext: Use host connection

This also removes the need for a sleeping event thread.
This commit is contained in:
Stenzek
2018-10-20 21:11:34 +10:00
parent 1d827a5223
commit 9c57a98723
18 changed files with 67 additions and 96 deletions
+2 -2
View File
@@ -161,8 +161,8 @@ bool VideoBackend::Initialize(void* display_handle, void* window_handle)
{
InitializeShared();
g_main_gl_context =
GLContext::Create(window_handle, g_ActiveConfig.stereo_mode == StereoMode::QuadBuffer);
g_main_gl_context = GLContext::Create(display_handle, window_handle,
g_ActiveConfig.stereo_mode == StereoMode::QuadBuffer);
if (!g_main_gl_context)
return false;