From 6587b5404075ca9ea095cc604e08d5b246961857 Mon Sep 17 00:00:00 2001
From: faiface <faiface@ksp.sk>
Date: Wed, 11 Jan 2017 23:19:38 +0100
Subject: [PATCH] minor fix

---
 window.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/window.go b/window.go
index cf4d8f7..177ea73 100644
--- a/window.go
+++ b/window.go
@@ -367,7 +367,7 @@ type windowTriangles struct {
 }
 
 func (wt *windowTriangles) Len() int {
-	return wt.vs.Len()
+	return len(wt.data)
 }
 
 func (wt *windowTriangles) Draw() {
-- 
GitLab