mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
Use gl.* types instead of int
This commit is contained in:
parent
8c15b57d58
commit
58e2f27513
@ -22,12 +22,10 @@ import (
|
||||
"github.com/go-gl/gl"
|
||||
)
|
||||
|
||||
// TODO: Why int?
|
||||
|
||||
type Texture int
|
||||
type Framebuffer int
|
||||
type Shader int
|
||||
type Program int
|
||||
type Texture gl.Texture
|
||||
type Framebuffer gl.Framebuffer
|
||||
type Shader gl.Shader
|
||||
type Program gl.Program
|
||||
type Buffer gl.Buffer
|
||||
|
||||
// TODO: Remove this after the GopherJS bug was fixed (#159)
|
||||
|
Loading…
Reference in New Issue
Block a user