mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-06 18:05:35 +00:00
gpu/headless: remove useless headless_gl.go abstraction
There is no longer any shared code between OpenGL backends (unlike EGL backends). Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// SPDX-License-Identifier: Unlicense OR MIT
|
||||
|
||||
//go:build linux || freebsd || windows || openbsd
|
||||
// +build linux freebsd windows openbsd
|
||||
//go:build linux || freebsd || openbsd
|
||||
// +build linux freebsd openbsd
|
||||
|
||||
package headless
|
||||
|
||||
@@ -9,6 +9,6 @@ import (
|
||||
"gioui.org/internal/egl"
|
||||
)
|
||||
|
||||
func newGLContext() (context, error) {
|
||||
func newContext() (context, error) {
|
||||
return egl.NewContext(egl.EGL_DEFAULT_DISPLAY)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user