mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
VST2: Fixed a bug when asking the host to resize a plug-in window
This commit is contained in:
parent
04f459b22e
commit
ee8be93712
1 changed files with 1 additions and 1 deletions
|
|
@ -1322,7 +1322,7 @@ public:
|
|||
|
||||
if (auto host = wrapper.hostCallback)
|
||||
{
|
||||
if (host (wrapper.getVstEffectInterface(), hostOpcodeCanHostDo, 0, 0, const_cast<char*> ("sizeWindow"), 0))
|
||||
if (host (wrapper.getVstEffectInterface(), hostOpcodeCanHostDo, 0, 0, const_cast<char*> ("sizeWindow"), 0) == (pointer_sized_int) 1)
|
||||
{
|
||||
isInSizeWindow = true;
|
||||
sizeWasSuccessful = (host (wrapper.getVstEffectInterface(), hostOpcodeWindowSize, newWidth, newHeight, 0, 0) != 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue