remove accidentaly kept updateLock field from GLTriangles

This commit is contained in:
faiface 2017-04-12 11:25:11 +02:00
parent 592eb4b8ef
commit bce553aeec
1 changed files with 3 additions and 5 deletions

View File

@ -2,7 +2,6 @@ package pixelgl
import ( import (
"fmt" "fmt"
"sync"
"github.com/faiface/glhf" "github.com/faiface/glhf"
"github.com/faiface/mainthread" "github.com/faiface/mainthread"
@ -14,10 +13,9 @@ import (
// Triangles returned from this function support TrianglesPosition, TrianglesColor and // Triangles returned from this function support TrianglesPosition, TrianglesColor and
// TrianglesPicture. If you need to support more, you can "override" SetLen and Update methods. // TrianglesPicture. If you need to support more, you can "override" SetLen and Update methods.
type GLTriangles struct { type GLTriangles struct {
vs *glhf.VertexSlice vs *glhf.VertexSlice
data []float32 data []float32
shader *glhf.Shader shader *glhf.Shader
updateLock sync.Mutex
} }
var ( var (