mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 07:35:40 +00:00
3af4e6accf
We're about to move package app/headless to gpu/headless, and it needs the egl package. Signed-off-by: Elias Naur <mail@eliasnaur.com>
14 lines
232 B
Go
14 lines
232 B
Go
// SPDX-License-Identifier: Unlicense OR MIT
|
|
|
|
// +build linux freebsd windows openbsd
|
|
|
|
package headless
|
|
|
|
import (
|
|
"gioui.org/internal/egl"
|
|
)
|
|
|
|
func newGLContext() (context, error) {
|
|
return egl.NewContext(egl.EGL_DEFAULT_DISPLAY)
|
|
}
|