add clarifying comment

This commit is contained in:
faiface 2017-03-07 22:44:25 +01:00
parent 3d13e52add
commit e4ecafefc5
1 changed files with 2 additions and 0 deletions

View File

@ -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,