app/internal/window: rename "backends" to "drivers"

"driver" is the new more specific name for gpu backends.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2021-03-06 11:03:18 +01:00
parent 7bc0603d7e
commit 91a14c7fa2
3 changed files with 8 additions and 9 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ type d3d11Context struct {
const debug = false
func init() {
backends = append(backends, gpuAPI{
drivers = append(drivers, gpuAPI{
priority: 1,
initializer: func(w *window) (Context, error) {
hwnd, _, _ := w.HWND()