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:
+3
-3
@@ -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
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@ import (
|
||||
|
||||
syscall "golang.org/x/sys/windows"
|
||||
|
||||
"gioui.org/internal/glimpl"
|
||||
"gioui.org/internal/gl"
|
||||
gunsafe "gioui.org/internal/unsafe"
|
||||
)
|
||||
|
||||
@@ -57,7 +57,7 @@ func loadDLLs() error {
|
||||
if err := loadDLL(libEGL, "libEGL.dll"); err != nil {
|
||||
return err
|
||||
}
|
||||
if err := loadDLL(glimpl.LibGLESv2, "libGLESv2.dll"); err != nil {
|
||||
if err := loadDLL(gl.LibGLESv2, "libGLESv2.dll"); err != nil {
|
||||
return err
|
||||
}
|
||||
// d3dcompiler_47.dll is needed internally for shader compilation to function.
|
||||
|
||||
Reference in New Issue
Block a user