Add API to set openGL backing scale

This commit is contained in:
Robin Gareus 2023-02-04 22:25:52 +01:00
parent cb3f8170ad
commit 509504acf2
6 changed files with 6 additions and 13 deletions

View file

@ -555,12 +555,12 @@ GtkCanvas::GtkCanvas ()
}
void
GtkCanvas::use_nsglview ()
GtkCanvas::use_nsglview (bool retina)
{
assert (!_nsglview);
assert (!get_realized());
#ifdef ARDOUR_CANVAS_NSVIEW_TAG // patched gdkquartz.h
_nsglview = Gtkmm2ext::nsglview_create (this);
_nsglview = Gtkmm2ext::nsglview_create (this, retina);
#endif
}