minor doc change
This commit is contained in:
parent
0dc74ce61f
commit
6292035cb9
2
batch.go
2
batch.go
|
@ -41,7 +41,7 @@ func NewBatch(container Triangles, pic Picture) *Batch {
|
|||
//
|
||||
// container := &pixel.TrianglesData{}
|
||||
// batch := pixel.NewBatch(container, nil)
|
||||
// container.SetLen(10) // changed container from outside of Batch
|
||||
// container.SetLen(10) // container changed from outside of Batch
|
||||
// batch.Dirty() // notify Batch about the change
|
||||
func (b *Batch) Dirty() {
|
||||
b.cont.Dirty()
|
||||
|
|
Loading…
Reference in New Issue