mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 07:35:40 +00:00
10c1b2cb8d
Signed-off-by: Elias Naur <mail@eliasnaur.com>
21 lines
386 B
Go
21 lines
386 B
Go
// SPDX-License-Identifier: Unlicense OR MIT
|
|
|
|
package window
|
|
|
|
/*
|
|
#include <EGL/egl.h>
|
|
*/
|
|
import "C"
|
|
|
|
func (w *window) eglDestroy() {
|
|
}
|
|
|
|
func (w *window) eglDisplay() _EGLNativeDisplayType {
|
|
return nil
|
|
}
|
|
|
|
func (w *window) eglWindow(visID int) (_EGLNativeWindowType, int, int, error) {
|
|
win, width, height := w.nativeWindow(visID)
|
|
return _EGLNativeWindowType(win), width, height, nil
|
|
}
|