Squashed 'external/parallel-rdp/parallel-rdp-standalone/' changes from 3f59f61f2c1..a215fe7ec7e

a215fe7ec7e Only set instanceFactory if not null
4f2c14a9266 Merge branch 'Themaister:master' into master
d1cc912c5c4 Update to 1f69c762be68feb9fcd5276d75acc6e5a6160a19

git-subtree-dir: external/parallel-rdp/parallel-rdp-standalone
git-subtree-split: a215fe7ec7ef472187cc182dae71c798452ad155
This commit is contained in:
SimoneN64
2024-09-24 21:24:51 +02:00
parent d94eccab99
commit 72efc678d1
4 changed files with 14 additions and 2 deletions

View File

@@ -357,7 +357,8 @@ bool WSI::init_context_from_platform(InstanceFactory* instanceFactory, unsigned
new_context->set_application_info(platform->get_application_info());
new_context->set_num_thread_indices(num_thread_indices);
new_context->set_system_handles(system_handles);
new_context->set_instance_factory(instanceFactory);
if(instanceFactory)
new_context->set_instance_factory(instanceFactory);
if (!new_context->init_instance(
instance_ext.data(), instance_ext.size(),