mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 00:41:26 +12:00
gl: Do not create secondary context if async is disabled
- Some third party programs fall apart when multiple contexts are created
This commit is contained in:
parent
0f36e87010
commit
ba5b59dc59
1 changed files with 5 additions and 1 deletions
|
@ -632,7 +632,11 @@ void GLGSRender::on_init_thread()
|
|||
// NOTES: All contexts have to be created before any is bound to a thread
|
||||
// This allows context sharing to work (both GLRCs passed to wglShareLists have to be idle or you get ERROR_BUSY)
|
||||
m_context = m_frame->make_context();
|
||||
m_decompiler_context = m_frame->make_context();
|
||||
|
||||
if (!g_cfg.video.disable_asynchronous_shader_compiler)
|
||||
{
|
||||
m_decompiler_context = m_frame->make_context();
|
||||
}
|
||||
|
||||
// Bind primary context to main RSX thread
|
||||
m_frame->set_current(m_context);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue