internal/atlas: typo

This commit is contained in:
Hajime Hoshi 2022-01-19 23:44:59 +09:00
parent 0a537b7ad2
commit 8321cecfdd

View File

@ -334,7 +334,7 @@ func (i *Image) putOnAtlas() error {
if restorable.NeedsRestoring() {
// If the underlying graphics driver requires restoring from the context lost, the pixel data is
// needed. A image on an atlas must have its complete pixel data in this case.
// needed. An image on an atlas must have its complete pixel data in this case.
pixels := make([]byte, 4*i.width*i.height)
for y := 0; y < i.height; y++ {
for x := 0; x < i.width; x++ {