mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-19 09:41:32 +08:00
Add Qt support for osx
Actual drawing fails due to initialization before there are any windows
This commit is contained in:
+1
-1
@@ -44,7 +44,7 @@ void QTToGSWindow(QWidget *widget, gs_window &gswindow)
|
||||
#ifdef _WIN32
|
||||
gswindow.hwnd = (HWND)widget->winId();
|
||||
#elif __APPLE__
|
||||
/* TODO: mac */
|
||||
gswindow.view = (id)widget->winId();
|
||||
#else
|
||||
gswindow.id = widget->winId();
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user