small fix

This commit is contained in:
faiface 2016-11-23 21:49:56 +01:00
parent 832425c6cc
commit 29aa4aa32f
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ func NewVertexArray(parent BeginEnder, format VertexFormat, mode VertexDrawMode,
int32(attr.Size), int32(attr.Size),
gl.DOUBLE, gl.DOUBLE,
false, false,
int32(stride), int32(8*stride),
gl.PtrOffset(8*offset), gl.PtrOffset(8*offset),
) )
gl.EnableVertexAttribArray(uint32(i)) gl.EnableVertexAttribArray(uint32(i))