mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-08 02:45:38 +00:00
app,app/internal/wm: implement ViewEvent for macOS
Move the deprecated setWantsBestResolutionOpenGLSurface to GL-specific code while we're here. Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -8,6 +8,8 @@ import (
|
||||
"errors"
|
||||
)
|
||||
|
||||
type ViewEvent struct{}
|
||||
|
||||
func Main() {
|
||||
select {}
|
||||
}
|
||||
@@ -37,3 +39,5 @@ func NewWindow(window Callbacks, opts *Options) error {
|
||||
}
|
||||
return errors.New("app: no window driver available")
|
||||
}
|
||||
|
||||
func (_ ViewEvent) ImplementsEvent() {}
|
||||
|
||||
Reference in New Issue
Block a user