gl: Fix crash when closing shader loading dialog
This commit is contained in:
@@ -415,6 +415,7 @@ void GLGSRender::on_init_thread()
|
|||||||
? std::make_unique<rsx::shader_loading_dialog_native>(this)
|
? std::make_unique<rsx::shader_loading_dialog_native>(this)
|
||||||
: std::make_unique<rsx::shader_loading_dialog>();
|
: std::make_unique<rsx::shader_loading_dialog>();
|
||||||
m_shader_interpreter.create(dlg.get());
|
m_shader_interpreter.create(dlg.get());
|
||||||
|
dlg->close();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (shadermode != shader_mode::interpreter_only)
|
if (shadermode != shader_mode::interpreter_only)
|
||||||
|
|||||||
Reference in New Issue
Block a user