mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
internal/atlas: typo
This commit is contained in:
parent
0a537b7ad2
commit
8321cecfdd
@ -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++ {
|
||||
|
Loading…
Reference in New Issue
Block a user