mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 13:18:50 +00:00
GLContext: Use host connection
This also removes the need for a sleeping event thread.
This commit is contained in:
parent
1d827a5223
commit
9c57a98723
18 changed files with 68 additions and 97 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue