Use gl.* types instead of int

This commit is contained in:
Hajime Hoshi 2015-01-17 14:21:38 +09:00
parent 8c15b57d58
commit 58e2f27513

View File

@ -22,12 +22,10 @@ import (
"github.com/go-gl/gl" "github.com/go-gl/gl"
) )
// TODO: Why int? type Texture gl.Texture
type Framebuffer gl.Framebuffer
type Texture int type Shader gl.Shader
type Framebuffer int type Program gl.Program
type Shader int
type Program int
type Buffer gl.Buffer type Buffer gl.Buffer
// TODO: Remove this after the GopherJS bug was fixed (#159) // TODO: Remove this after the GopherJS bug was fixed (#159)