diff options
author | Robin Gareus <robin@gareus.org> | 2017-07-08 18:13:42 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-07-08 18:13:42 +0200 |
commit | fd8053da9eaf5e97aaa978d971410d4f246c7138 (patch) | |
tree | 4f6f7612d4b7fb2aac7d7bc911858162ad3d42e7 /gtk2_ardour/linux_vst_gui_support.cc | |
parent | 9a0ab26fbf31f8c2e4ccab325019f588fe8a9350 (diff) |
Don't use VST ->user points, prefer host-reserved ptr
Apparently "user" is for plugins (not hosts) to use.
Diffstat (limited to 'gtk2_ardour/linux_vst_gui_support.cc')
-rw-r--r-- | gtk2_ardour/linux_vst_gui_support.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/linux_vst_gui_support.cc b/gtk2_ardour/linux_vst_gui_support.cc index c51cfa6026..8dc2e928e4 100644 --- a/gtk2_ardour/linux_vst_gui_support.cc +++ b/gtk2_ardour/linux_vst_gui_support.cc @@ -207,7 +207,7 @@ dispatch_x_events (XEvent* event, VSTState* vstfx) if (width != vstfx->width || height != vstfx->height) { vstfx->width = width; vstfx->height = height; - ARDOUR::VSTPlugin* plug = (ARDOUR::VSTPlugin *)(vstfx->plugin->user); + ARDOUR::VSTPlugin* plug = (ARDOUR::VSTPlugin *)(vstfx->plugin->ptr1); plug->VSTSizeWindow (); /* EMIT SIGNAL */ } |