mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 07:14:56 +01:00
Fix OSX canvas when used without openGL NSView
This commit is contained in:
parent
5fe355af92
commit
b726255007
1 changed files with 3 additions and 1 deletions
|
|
@ -772,7 +772,9 @@ GtkCanvas::on_realize ()
|
||||||
{
|
{
|
||||||
Gtk::EventBox::on_realize();
|
Gtk::EventBox::on_realize();
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
nsglview_overlay (_nsglview, get_window()->gobj());
|
if (_nsglview) {
|
||||||
|
nsglview_overlay (_nsglview, get_window()->gobj());
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue