1
0
Fork 0

Log assertion failure if a VST3 resize is denied

This commit is contained in:
Robbert van der Helm 2022-04-20 20:35:44 +02:00
parent 8966ca5280
commit 6ae05eb01b

View file

@ -139,6 +139,11 @@ impl<P: Vst3Plugin> WrapperView<P> {
mem::transmute(&self.__iplugviewvptr as *const *const _);
let result = plug_frame.resize_view(plug_view, &mut size);
debug_assert_eq!(
result, kResultOk,
"The host denied the resize, we currently don't handle this for VST3 plugins"
);
result == kResultOk
}
None => false,