mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-10-24 08:23:29 +08:00
opengl: Remove 'normalize' argument from VertexAttribPointer
This commit is contained in:
@@ -362,10 +362,10 @@ func (c *Context) getAttribLocationImpl(p Program, location string) attribLocati
|
||||
return attribLocation(gl.GetAttribLocation(p.Object, location))
|
||||
}
|
||||
|
||||
func (c *Context) VertexAttribPointer(p Program, location string, size int, dataType DataType, normalize bool, stride int, offset int) {
|
||||
func (c *Context) VertexAttribPointer(p Program, location string, size int, dataType DataType, stride int, offset int) {
|
||||
gl := c.gl
|
||||
l := c.locationCache.GetAttribLocation(c, p, location)
|
||||
gl.VertexAttribPointer(int(l), size, int(dataType), normalize, stride, offset)
|
||||
gl.VertexAttribPointer(int(l), size, int(dataType), false, stride, offset)
|
||||
}
|
||||
|
||||
func (c *Context) EnableVertexAttribArray(p Program, location string) {
|
||||
|
||||
Reference in New Issue
Block a user