From a2499cf90d21b195d84f53450844d11998a36ab4 Mon Sep 17 00:00:00 2001 From: faiface Date: Wed, 12 Apr 2017 11:25:11 +0200 Subject: [PATCH] remove accidentaly kept updateLock field from GLTriangles --- pixelgl/gltriangles.go | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/pixelgl/gltriangles.go b/pixelgl/gltriangles.go index a41b913..3e6879a 100644 --- a/pixelgl/gltriangles.go +++ b/pixelgl/gltriangles.go @@ -2,7 +2,6 @@ package pixelgl import ( "fmt" - "sync" "github.com/faiface/glhf" "github.com/faiface/mainthread" @@ -14,10 +13,9 @@ import ( // Triangles returned from this function support TrianglesPosition, TrianglesColor and // TrianglesPicture. If you need to support more, you can "override" SetLen and Update methods. type GLTriangles struct { - vs *glhf.VertexSlice - data []float32 - shader *glhf.Shader - updateLock sync.Mutex + vs *glhf.VertexSlice + data []float32 + shader *glhf.Shader } var (