add clarifying comment
This commit is contained in:
parent
3d13e52add
commit
e4ecafefc5
|
@ -86,6 +86,8 @@ func (c *Canvas) MakePicture(p pixel.Picture) pixel.TargetPicture {
|
|||
tp.dst = c
|
||||
return tp
|
||||
}
|
||||
|
||||
// Canvas special case
|
||||
if canvas, ok := p.(*Canvas); ok {
|
||||
return &canvasCanvasPicture{
|
||||
src: canvas,
|
||||
|
|
Loading…
Reference in New Issue