mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 07:35:40 +00:00
internal/gl: rename internal/glimpl
Now that the OpenGL driver package is named "opengl", we can finally get rid of the ugly "glimpl" name. Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -7,7 +7,7 @@ import (
|
||||
"syscall/js"
|
||||
|
||||
"gioui.org/gpu"
|
||||
"gioui.org/internal/glimpl"
|
||||
"gioui.org/internal/gl"
|
||||
)
|
||||
|
||||
type jsContext struct {
|
||||
@@ -31,7 +31,7 @@ func newGLContext() (context, error) {
|
||||
}
|
||||
|
||||
func (c *jsContext) API() gpu.API {
|
||||
return gpu.OpenGL{Context: glimpl.Context(c.ctx)}
|
||||
return gpu.OpenGL{Context: gl.Context(c.ctx)}
|
||||
}
|
||||
|
||||
func (c *jsContext) Release() {
|
||||
|
||||
Reference in New Issue
Block a user