clarify IMDraw.Draw doc
This commit is contained in:
parent
87b57f21cb
commit
b2819732fc
|
@ -108,6 +108,8 @@ func (imd *IMDraw) Reset() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Draw draws all currently drawn shapes inside the IM onto another Target.
|
// Draw draws all currently drawn shapes inside the IM onto another Target.
|
||||||
|
//
|
||||||
|
// Note, that IMDraw's matrix and color mask have no effect here.
|
||||||
func (imd *IMDraw) Draw(t pixel.Target) {
|
func (imd *IMDraw) Draw(t pixel.Target) {
|
||||||
imd.batch.Draw(t)
|
imd.batch.Draw(t)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue