Fix the threading for GL Context in Qt5.
Connect the emu_thread start/finish to a moveContext slot.
This commit is contained in:
parent
fab2f28ea5
commit
a3a70e56ac
4 changed files with 21 additions and 10 deletions
|
@ -36,7 +36,6 @@ void Init(EmuWindow* emu_window) {
|
|||
glewExperimental = GL_TRUE;
|
||||
|
||||
g_emu_window = emu_window;
|
||||
g_emu_window->MakeCurrent();
|
||||
g_renderer = new RendererOpenGL();
|
||||
g_renderer->SetWindow(g_emu_window);
|
||||
g_renderer->Init();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue