mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
Add API to set openGL backing scale
This commit is contained in:
parent
cb3f8170ad
commit
509504acf2
6 changed files with 6 additions and 13 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue