mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 21:55:43 +01:00
add NULL check for VST audioMasterSizeWindow
This commit is contained in:
parent
07cdae3318
commit
4fdd03892d
1 changed files with 5 additions and 3 deletions
|
|
@ -318,9 +318,11 @@ intptr_t Session::vst_callback (
|
|||
|
||||
case audioMasterSizeWindow:
|
||||
SHOW_CALLBACK ("audioMasterSizeWindow");
|
||||
plug->state()->width = index;
|
||||
plug->state()->height = value;
|
||||
plug->state()->want_resize = 1;
|
||||
if (plug && plug->state()) {
|
||||
plug->state()->width = index;
|
||||
plug->state()->height = value;
|
||||
plug->state()->want_resize = 1;
|
||||
}
|
||||
return 0;
|
||||
|
||||
case audioMasterGetSampleRate:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue