forked from joejulian/gio
gpu/internal/d3d11: make the Direct3D backend internal to package gpu
The package app/internal/d3d11 now contains only the GPU backend on Direct3D. Move it below package gpu to reflect that. Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -7,8 +7,6 @@ import (
|
||||
|
||||
"gioui.org/gpu"
|
||||
"gioui.org/internal/d3d11"
|
||||
|
||||
_ "gioui.org/app/internal/d3d11"
|
||||
)
|
||||
|
||||
type d3d11Context struct {
|
||||
|
||||
@@ -10,8 +10,6 @@ import (
|
||||
"gioui.org/app/internal/window"
|
||||
"gioui.org/gpu"
|
||||
"gioui.org/op"
|
||||
|
||||
_ "gioui.org/app/internal/d3d11"
|
||||
)
|
||||
|
||||
type renderLoop struct {
|
||||
|
||||
+2
-1
@@ -29,8 +29,9 @@ import (
|
||||
"gioui.org/op"
|
||||
"gioui.org/op/clip"
|
||||
|
||||
// Register backend.
|
||||
// Register backends.
|
||||
_ "gioui.org/gpu/gl"
|
||||
_ "gioui.org/gpu/internal/d3d11"
|
||||
)
|
||||
|
||||
type GPU interface {
|
||||
|
||||
Reference in New Issue
Block a user