mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +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
|
@ -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.");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue