mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 07:35:40 +00:00
22cd88df9f
The "ui" is redundant and stutters. Signed-off-by: Elias Naur <mail@eliasnaur.com>
21 lines
415 B
Go
21 lines
415 B
Go
// SPDX-License-Identifier: Unlicense OR MIT
|
|
|
|
// +build android windows
|
|
|
|
package app
|
|
|
|
type eglWindow struct {
|
|
w _EGLNativeWindowType
|
|
}
|
|
|
|
func newEGLWindow(w _EGLNativeWindowType, width, height int) (*eglWindow, error) {
|
|
return &eglWindow{w}, nil
|
|
}
|
|
|
|
func (w *eglWindow) window() _EGLNativeWindowType {
|
|
return w.w
|
|
}
|
|
|
|
func (w *eglWindow) resize(width, height int) {}
|
|
func (w *eglWindow) destroy() {}
|