From 1fcf42263a3eaf44ff9ec8c6f1af794578e46673 Mon Sep 17 00:00:00 2001 From: faiface <faiface@ksp.sk> Date: Sat, 3 Dec 2016 00:45:34 +0100 Subject: [PATCH] reorder VertexArray struct --- pixelgl/vertex.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pixelgl/vertex.go b/pixelgl/vertex.go index 19cef47..f112dae 100644 --- a/pixelgl/vertex.go +++ b/pixelgl/vertex.go @@ -70,12 +70,12 @@ const ( // From the user's points of view, VertexArray is an array of vertices that can be drawn. type VertexArray struct { parent Doer + vao uint32 + vbo uint32 format VertexFormat stride int count int attrs map[Attr]int - vao uint32 - vbo uint32 mode VertexDrawMode } -- GitLab