Files
gio/gpu/headless/headless_egl.go
T
Elias Naur 2a66bfb2b4 gpu/headless: move package app/headless
Package headless is more about rendering that windows. Move it
accordingly.

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