reorder VertexArray struct

This commit is contained in:
faiface 2016-12-03 00:45:34 +01:00
parent 63efe9e167
commit 1fcf42263a
1 changed files with 2 additions and 2 deletions

View File

@ -70,12 +70,12 @@ const (
// From the user's points of view, VertexArray is an array of vertices that can be drawn. // From the user's points of view, VertexArray is an array of vertices that can be drawn.
type VertexArray struct { type VertexArray struct {
parent Doer parent Doer
vao uint32
vbo uint32
format VertexFormat format VertexFormat
stride int stride int
count int count int
attrs map[Attr]int attrs map[Attr]int
vao uint32
vbo uint32
mode VertexDrawMode mode VertexDrawMode
} }