13
0

VST3: fix host query interface support

This commit is contained in:
Robin Gareus 2020-10-15 21:10:00 +02:00
parent 09a4dcee68
commit c8c1e5d825
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -385,7 +385,7 @@ HostApplication::queryInterface (const char* _iid, void** obj)
QUERY_INTERFACE (_iid, obj, FUnknown::iid, IHostApplication)
QUERY_INTERFACE (_iid, obj, IHostApplication::iid, IHostApplication)
if (_plug_interface_support && _plug_interface_support->queryInterface (Vst::IHostApplication::iid, obj) == kResultTrue) {
if (_plug_interface_support && _plug_interface_support->queryInterface (_iid, obj) == kResultTrue) {
return kResultOk;
}