fix: wrong window handle on windows
This commit is contained in:
parent
4e8beb1098
commit
36ee023fb3
|
@ -2773,7 +2773,7 @@ impl<P: ClapPlugin> Wrapper<P> {
|
||||||
} else if api == CLAP_WINDOW_API_COCOA {
|
} else if api == CLAP_WINDOW_API_COCOA {
|
||||||
ParentWindowHandle::AppKitNsView(window.specific.cocoa)
|
ParentWindowHandle::AppKitNsView(window.specific.cocoa)
|
||||||
} else if api == CLAP_WINDOW_API_WIN32 {
|
} else if api == CLAP_WINDOW_API_WIN32 {
|
||||||
ParentWindowHandle::AppKitNsView(window.specific.win32)
|
ParentWindowHandle::Win32Hwnd(window.specific.win32)
|
||||||
} else {
|
} else {
|
||||||
nih_debug_assert_failure!("Host passed an invalid API");
|
nih_debug_assert_failure!("Host passed an invalid API");
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue