app: unexport NewDisplayLink

It's not supposed to be used outside of package app.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2023-10-31 17:56:24 -05:00
parent ea58aacde2
commit d078bf0ed7
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -886,7 +886,7 @@ func newOSWindow() (*window, error) {
scale: scale,
redraw: make(chan struct{}, 1),
}
dl, err := NewDisplayLink(func() {
dl, err := newDisplayLink(func() {
select {
case w.redraw <- struct{}{}:
default: