Files
gio/gpu/headless/headless_egl.go
T
Elias Naur 060ae1cdf9 all: add //go:build lines
They're automatically added by Go 1.17 source formatters. This change
adds them all now.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
2021-07-26 15:17:51 +02:00

15 lines
282 B
Go

// SPDX-License-Identifier: Unlicense OR MIT
//go:build linux || freebsd || windows || openbsd
// +build linux freebsd windows openbsd
package headless
import (
"gioui.org/internal/egl"
)
func newGLContext() (context, error) {
return egl.NewContext(egl.EGL_DEFAULT_DISPLAY)
}