shareable: Fix comments

This commit is contained in:
Hajime Hoshi 2019-01-06 03:15:32 +09:00
parent e9422a9f2c
commit b5c9cd6253

View File

@ -66,7 +66,7 @@ func (b *backend) TryAlloc(width, height int) (*packing.Node, bool) {
oldImg := b.restorable
w, h := oldImg.Size()
// Do not use DrawImage here. ReplacePixels will be called on a part of newImg later, and it looked like
// ReplacePixels on a part of image deletes other region that are rendered by DrawImage (#593, 758).
// ReplacePixels on a part of image deletes other region that are rendered by DrawImage (#593, #758).
// TODO: Add validations to ensure that an image cannot accept DrawImage after ReplacePixels on a part of
// it.
//