Use GL 2.1 (for Windows)

This commit is contained in:
Hajime Hoshi 2015-06-21 01:33:28 +09:00
parent 349eb95bba
commit e3608d08eb
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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 {