internal/graphicsdriver/opengl: Refactoring: Remove redundant conversions

This commit is contained in:
Hajime Hoshi 2021-07-03 22:39:48 +09:00
parent b0b7a24f89
commit f6e210e086

View File

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