Files
gio/app/headless/headless_egl.go
T
Elias Naur 3af4e6accf internal/egl: move app/internal/egl
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>
2021-03-06 14:26:47 +01:00

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)
}