gpu/internal/opengl: rename and make internal the OpenGL driver

It is no longer necessary for outside users of package gpu to explicitly
initialize a specific driver. The Direct3D driver is already internal,
this moves the OpenGL driver internally as well. The rename to opengl is
to avoid the name clash with the low-level "gioui.org/internal/glimpl"
package that we're about to rename.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2021-03-06 10:24:33 +01:00
parent c799452c57
commit a722768da9
2 changed files with 1 additions and 1 deletions
+1 -1
View File
@@ -30,8 +30,8 @@ import (
"gioui.org/op/clip"
// Register backends.
_ "gioui.org/gpu/gl"
_ "gioui.org/gpu/internal/d3d11"
_ "gioui.org/gpu/internal/opengl"
)
type GPU interface {