prevented concurrent race condition
This commit is contained in:
parent
e8ba24ea40
commit
85b18b567a
|
@ -77,7 +77,7 @@ func (gt *GLTriangles) SetLen(length int) {
|
|||
default:
|
||||
return
|
||||
}
|
||||
mainthread.CallNonBlock(func() {
|
||||
mainthread.Call(func() {
|
||||
gt.vs.Begin()
|
||||
gt.vs.SetLen(length)
|
||||
gt.vs.End()
|
||||
|
|
Loading…
Reference in New Issue