Log assertion failure if a VST3 resize is denied
This commit is contained in:
parent
8966ca5280
commit
6ae05eb01b
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue