mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 02:38:53 +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
|
||||
}
|
||||
|
||||
// Records for DrawTriangles cannot come after records for WritePixels.
|
||||
// Records for DrawTriangles cannot come before records for WritePixels.
|
||||
if len(i.drawTrianglesHistory) > 0 {
|
||||
i.makeStale(image.Rect(0, 0, i.width, i.height))
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user