mirror of
https://github.com/robbert-vdh/nih-plug.git
synced 2026-07-01 02:36:54 +00:00
fix: wrong window handle on windows
This commit is contained in:
committed by
Robbert van der Helm
parent
4e8beb1098
commit
36ee023fb3
@@ -2773,7 +2773,7 @@ impl<P: ClapPlugin> Wrapper<P> {
|
||||
} else if api == CLAP_WINDOW_API_COCOA {
|
||||
ParentWindowHandle::AppKitNsView(window.specific.cocoa)
|
||||
} else if api == CLAP_WINDOW_API_WIN32 {
|
||||
ParentWindowHandle::AppKitNsView(window.specific.win32)
|
||||
ParentWindowHandle::Win32Hwnd(window.specific.win32)
|
||||
} else {
|
||||
nih_debug_assert_failure!("Host passed an invalid API");
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user