From 29aa4aa32f723bd2e2da25fa9d5518638be36818 Mon Sep 17 00:00:00 2001
From: faiface <faiface@ksp.sk>
Date: Wed, 23 Nov 2016 21:49:56 +0100
Subject: [PATCH] small fix

---
 pixelgl/vertex.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pixelgl/vertex.go b/pixelgl/vertex.go
index 2b17260..db021c5 100644
--- a/pixelgl/vertex.go
+++ b/pixelgl/vertex.go
@@ -123,7 +123,7 @@ func NewVertexArray(parent BeginEnder, format VertexFormat, mode VertexDrawMode,
 				int32(attr.Size),
 				gl.DOUBLE,
 				false,
-				int32(stride),
+				int32(8*stride),
 				gl.PtrOffset(8*offset),
 			)
 			gl.EnableVertexAttribArray(uint32(i))
-- 
GitLab