remove accidentaly kept updateLock field from GLTriangles
This commit is contained in:
parent
592eb4b8ef
commit
bce553aeec
|
@ -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 (
|
||||||
|
|
Loading…
Reference in New Issue