mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +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"
|
"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)
|
||||||
|
Loading…
Reference in New Issue
Block a user