mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 10:48:53 +01:00
Use GL 2.1 (for Windows)
This commit is contained in:
parent
349eb95bba
commit
e3608d08eb
@ -19,7 +19,8 @@ package opengl
|
|||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/go-gl/gl/v3.2-core/gl"
|
|
||||||
|
"github.com/go-gl/gl/v2.1/gl"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Texture uint32
|
type Texture uint32
|
||||||
|
@ -18,9 +18,10 @@ package ui
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
glfw "github.com/go-gl/glfw/v3.1/glfw"
|
|
||||||
"runtime"
|
"runtime"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
glfw "github.com/go-gl/glfw/v3.1/glfw"
|
||||||
)
|
)
|
||||||
|
|
||||||
func Now() int64 {
|
func Now() int64 {
|
||||||
|
Loading…
Reference in New Issue
Block a user