Skip to content
Snippets Groups Projects
Commit bce553ae authored by faiface's avatar faiface
Browse files

remove accidentaly kept updateLock field from GLTriangles

parent 592eb4b8
Loading
......@@ -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 (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment