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:
Elias Naur
2021-03-06 10:31:35 +01:00
parent a722768da9
commit 7bc0603d7e
17 changed files with 221 additions and 221 deletions
+3 -3
View File
@@ -11,12 +11,12 @@ import (
"strings"
"gioui.org/gpu"
"gioui.org/internal/glimpl"
"gioui.org/internal/gl"
"gioui.org/internal/srgb"
)
type Context struct {
c *glimpl.Functions
c *gl.Functions
disp _EGLDisplay
eglCtx *eglContext
eglSurf _EGLSurface
@@ -105,7 +105,7 @@ func NewContext(disp NativeDisplayType) (*Context, error) {
if err != nil {
return nil, err
}
f, err := glimpl.NewFunctions(nil)
f, err := gl.NewFunctions(nil)
if err != nil {
return nil, err
}