mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-02-03 14:34:26 +01:00
internal/graphicsdriver/opengl: Refactoring: Remove redundant conversions
This commit is contained in:
parent
b0b7a24f89
commit
f6e210e086
@ -130,7 +130,7 @@ func (g *GomobileContext) DrawElements(mode uint32, count int32, xtype uint32, o
|
||||
}
|
||||
|
||||
func (g *GomobileContext) Enable(cap uint32) {
|
||||
g.ctx.Enable(gl.Enum(gl.Enum(cap)))
|
||||
g.ctx.Enable(gl.Enum(cap))
|
||||
}
|
||||
|
||||
func (g *GomobileContext) EnableVertexAttribArray(index uint32) {
|
||||
|
Loading…
Reference in New Issue
Block a user