From 1cecf85bdb49f7b9d28f09f6a7a8fd34449e3987 Mon Sep 17 00:00:00 2001
From: faiface <faiface@ksp.sk>
Date: Wed, 15 Mar 2017 14:01:55 +0100
Subject: [PATCH] simplify IMDraw.Precision

---
 graphics.go | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/graphics.go b/graphics.go
index e6a93fa..d194fa6 100644
--- a/graphics.go
+++ b/graphics.go
@@ -177,9 +177,6 @@ func (imd *IMDraw) Precision(p int) {
 	if p+1 > len(imd.tmp) {
 		imd.tmp = append(imd.tmp, make([]Vec, p+1-len(imd.tmp))...)
 	}
-	if p+1 < len(imd.tmp) {
-		imd.tmp = imd.tmp[:p+1]
-	}
 }
 
 // EndShape sets the endshape of the next Pushed points.
-- 
GitLab