mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 11:18:54 +01:00
#125: Fix import paths (Use go-gl/gl and go-gl/glfw instead of go-gl/glow and go-gl/glfw3
This commit is contained in:
parent
bca600a093
commit
82ea3fa020
@ -114,7 +114,7 @@ const uiKeysGlfwTmpl = `{{.License}}
|
|||||||
package ui
|
package ui
|
||||||
|
|
||||||
import (
|
import (
|
||||||
glfw "github.com/go-gl/glfw3"
|
glfw "github.com/go-gl/glfw/v3.0/glfw"
|
||||||
)
|
)
|
||||||
|
|
||||||
var glfwKeyCodeToKey = map[glfw.Key]Key{
|
var glfwKeyCodeToKey = map[glfw.Key]Key{
|
||||||
|
@ -19,7 +19,7 @@ package opengl
|
|||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/go-gl/glow/gl-core/3.2/gl"
|
"github.com/go-gl/gl/v3.2-core/gl"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Texture uint32
|
type Texture uint32
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
package ui
|
package ui
|
||||||
|
|
||||||
import (
|
import (
|
||||||
glfw "github.com/go-gl/glfw3"
|
glfw "github.com/go-gl/glfw/v3.0/glfw"
|
||||||
"math"
|
"math"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
package ui
|
package ui
|
||||||
|
|
||||||
import (
|
import (
|
||||||
glfw "github.com/go-gl/glfw3"
|
glfw "github.com/go-gl/glfw/v3.0/glfw"
|
||||||
)
|
)
|
||||||
|
|
||||||
var glfwKeyCodeToKey = map[glfw.Key]Key{
|
var glfwKeyCodeToKey = map[glfw.Key]Key{
|
||||||
|
@ -18,7 +18,7 @@ package ui
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
glfw "github.com/go-gl/glfw3"
|
glfw "github.com/go-gl/glfw/v3.0/glfw"
|
||||||
"runtime"
|
"runtime"
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user