mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
internal/buffered: English
This commit is contained in:
parent
c316aaae72
commit
4b31983b6d
@ -213,7 +213,7 @@ func (img *Image) replacePendingPixels(pix []byte, x, y, width, height int) {
|
||||
copy(img.pixels[4*((j+y)*img.width+x):], pix[4*j*width:4*(j+1)*width])
|
||||
}
|
||||
|
||||
// A mask is created only when a partial regions are replaced by replacePendingPixels.
|
||||
// A mask is created only when partial regions are replaced by replacePendingPixels.
|
||||
if img.mask != nil {
|
||||
for j := 0; j < height; j++ {
|
||||
for i := 0; i < width; i++ {
|
||||
|
Loading…
Reference in New Issue
Block a user