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>
This commit is contained in:
Elias Naur
2021-03-05 16:04:03 +01:00
parent 18a6dcf571
commit 2a66bfb2b4
17 changed files with 2 additions and 2 deletions
+13
View File
@@ -0,0 +1,13 @@
// 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)
}