mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 18:58:54 +01:00
internal/restorable: update comments
This commit is contained in:
parent
4675c83a83
commit
745a69aeaa
@ -336,7 +336,7 @@ func (i *Image) WritePixels(pixels []byte, x, y, width, height int) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// Records for DrawTriangles cannot come after records for WritePixels.
|
// Records for DrawTriangles cannot come before records for WritePixels.
|
||||||
if len(i.drawTrianglesHistory) > 0 {
|
if len(i.drawTrianglesHistory) > 0 {
|
||||||
i.makeStale(image.Rect(0, 0, i.width, i.height))
|
i.makeStale(image.Rect(0, 0, i.width, i.height))
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user