mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-06 01:45:36 +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:
@@ -22,7 +22,7 @@ type nsContext struct {
|
||||
ctx C.CFTypeRef
|
||||
}
|
||||
|
||||
func newGLContext() (context, error) {
|
||||
func newContext() (context, error) {
|
||||
ctx := C.gio_headless_newContext()
|
||||
return &nsContext{ctx: ctx}, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user